shift_to_zero: check for things like "(foo & 0xff) >> 8"
commit953536756a5c6ad06a7221c23e5068f9c5db44c7
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Oct 2014 09:07:08 +0000 (16 12:07 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Oct 2014 09:07:08 +0000 (16 12:07 +0300)
tree35d4c3fc1ae6521a79a7b453e5e7e51cb95cfa9f
parent280cb23bebd1f67df2516b8e49ac9cd2cfe6d2ed
shift_to_zero:  check for things like "(foo & 0xff) >> 8"

It's common to over shift to the right.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_list.h
check_shift_to_zero.c [new file with mode: 0644]