summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.ubsan
diff options
context:
space:
mode:
authorStefani Seibold2016-03-22 22:27:42 +0100
committerLinus Torvalds2016-03-22 23:36:02 +0100
commit21b2f44315d735345f02356239a819debdd89462 (patch)
treed3eb0155d79f1182f4c510268cdd27987d576443 /scripts/Makefile.ubsan
parentscripts/gdb: account for changes in module data structure (diff)
downloadkernel-qcow2-linux-21b2f44315d735345f02356239a819debdd89462.tar.gz
kernel-qcow2-linux-21b2f44315d735345f02356239a819debdd89462.tar.xz
kernel-qcow2-linux-21b2f44315d735345f02356239a819debdd89462.zip
kfifo: fix sparse complaints
This patch fix complaints by the sparse tool when using kfifo_put() with non scalar types like structures (i.e. drivers/iio/industrialio-event.c). Casting a pointer to the value and read this pointer instead of directly casting the value will fix this. The generated code is equal. Signed-off-by: Stefani Seibold <stefani@seibold.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.ubsan')
0 files changed, 0 insertions, 0 deletions