Or vs and: if (foo & ZERO) is nonsense
commitb6e9464b5194e515a5c3102089084d7b722cf411
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 11 Jun 2012 10:32:33 +0000 (11 13:32 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 11 Jun 2012 10:32:33 +0000 (11 13:32 +0300)
treec1b30647cf559ee8b0520872dc0645947eab65a8
parent6f5c308c6a1d3b3f35243e1944101560ff18e47e
Or vs and: if (foo & ZERO) is nonsense

There have been a couple bugs found where people to a bitwise AND with
zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_or_vs_and.c
smatch_data/kernel.unconstant_macros [new file with mode: 0644]