conditions: handle comma condtions
commit3ef4e285ae20537afcdc26a14878df00a7b0d89f
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 Dec 2014 17:09:19 +0000 (3 20:09 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 3 Dec 2014 17:09:19 +0000 (3 20:09 +0300)
tree22a57126901b0934d94c396ece5865548197b6d5
parent7a0b04d8860cfae170252c977c3eab02d7530ef5
conditions:  handle comma condtions

The nouveau driver has started using code like:

if (ret = -ENOMEM,
    (priv = kmalloc(sizeof(*priv), GFP_KERNEL))) {

So this silences some false positives.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_conditions.c