buf_size: allow strncmp("foo", bar, 100) where 100 is larger than "foo"
commitf10f27a7612c5b1e69b5d9080a0194d012beb6aa
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 7 Mar 2014 08:46:40 +0000 (7 11:46 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 7 Mar 2014 08:46:40 +0000 (7 11:46 +0300)
tree82ccc24bfa3db1c52bab78b096c19b91b3cd6ba8
parent80a26dc0309c11f231b953d66f6dd78739f8ec60
buf_size: allow strncmp("foo", bar, 100) where 100 is larger than "foo"

Some people limit strncmp based on the variable when using a string
literal.  This is not a bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/kernel.sizeof_param.remove