diff options
| author | Kees Cook <[email protected]> | 2016-07-19 20:04:14 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2016-08-01 21:27:23 +0000 |
| commit | 300108740b659c2380a731f147dd85ca0365db4f (patch) | |
| tree | 161a3dac79c115ce564e6650436db31821620726 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | Merge branch 'akpm' (patches from Andrew) (diff) | |
| download | kernel-300108740b659c2380a731f147dd85ca0365db4f.tar.gz kernel-300108740b659c2380a731f147dd85ca0365db4f.zip | |
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 <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
