check_signed: clarify error message
commit1227690e9ee90555beb43909fb117e0fd6c97205
authorDan Carpenter <error27@gmail.com>
Tue, 19 Jan 2010 17:52:52 +0000 (19 20:52 +0300)
committerDan Carpenter <error27@gmail.com>
Tue, 19 Jan 2010 17:52:52 +0000 (19 20:52 +0300)
tree25ed6e0f7d3517caeb5121bd09ccf09517e4783f
parent9568033944d1fec41a9634bd0a8c24d3605c8c77
check_signed: clarify error message

The old message said it was an error to compare a given variable to
negative but didn't tell you that it was because smatch thinks the
variable is unsigned.

This is especially confusing because smatch has a bug where it thinks every
bitfield is unsigned for some reason.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_signed.c