locking: tons of locks were ignored because of changes in smatch_helper.c
commitd7c833ff6723fe9ee0e3ad6d0b07c9b022472846
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Mar 2012 08:12:32 +0000 (12 11:12 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Mar 2012 08:12:32 +0000 (12 11:12 +0300)
treef0c152a41b8bc1b0899bdcfeda1d2b6a9dfd07b5
parent3f38f0c2f7b6df6dc5651733617b38c7b5ec4cf3
locking: tons of locks were ignored because of changes in smatch_helper.c

After commit 479d9a491b "get_variable_from_expr():  &foo is complicated"
then all the locks like spin_lock(&foo) were ignored.

Reported-by: Santosh Prasad Nayak <santoshprasadnayak@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_locking.c