silence: add __read_once_size() to kernel.silenced_functions
commit68a8d9b53b7c011621fa0871a83e253b9ad8b534
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Jan 2015 10:52:19 +0000 (12 13:52 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 12 Jan 2015 10:52:19 +0000 (12 13:52 +0300)
tree27e53c2daf508b91062487774ffb867d40591f61
parent7a4fdad6e866cc5775322531813973e1f5c1d393
silence: add __read_once_size() to kernel.silenced_functions

There is a false positive here:

include/linux/compiler.h:208 __read_once_size()
warn: potential memory corrupting cast 8 vs 4 bytes

It's a switch statement where the case is implied.  This function is small
so let's just turn it off manually here.

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