diff options
| author | Chen Gang <[email protected]> | 2013-11-27 11:40:58 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-03 09:13:05 -0800 |
| commit | 3229b869d14263c870ce0d3df18ce48fa02a40f2 (patch) | |
| tree | fac86580de741a0a83ff54a8a0c0985d498c7be1 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 358bd68cbdf23797f7360948094b4920caf65877 (diff) | |
drivers: staging: ft1000: ft1000-usb: ft1000_debug.c: check return value of get_user() in ft1000_ioctl()
get_user() may fail and cause 'msgsz' uninitialized, so need give a
check. The related warning (with allmodconfig under hexagon):
CC [M] drivers/staging/ft1000/ft1000-usb/ft1000_debug.o
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c: In function 'ft1000_ioctl':
include/uapi/linux/swab.h:53:9: warning: 'msgsz' may be used uninitialized in this function [-Wuninitialized]
drivers/staging/ft1000/ft1000-usb/ft1000_debug.c:533:17: note: 'msgsz' was declared here
Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions