summaryrefslogtreecommitdiff
path: root/ioops.c
diff options
context:
space:
mode:
Diffstat (limited to 'ioops.c')
0 files changed, 0 insertions, 0 deletions
href='/cgit.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=300108740b659c2380a731f147dd85ca0365db4f'>161a3dac79c115ce564e6650436db31821620726 parent0e06f5c0deeef0332a5da2ecb8f1fcf3e024d958 (diff)
lkdtm: fix false positive warning from -Wmaybe-uninitialized
The variable in use here doesn't matter (it's just used to exercise taking up stack space), but this changes its use to pass its address instead, to avoid a compiler warning: drivers/misc/lkdtm_usercopy.c:54:15: warning: 'bad_stack' may be used uninitialized in this function [-Wmaybe-uninitialized] Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat