diff options
| author | Kees Cook <[email protected]> | 2013-11-11 11:23:49 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-08 22:39:51 -0800 |
| commit | 5123662adc873f9a37d7898fe3c285a1f1af59c8 (patch) | |
| tree | ce078b46046df665caee19b4a113d4ca9ced5233 /tools/perf/scripts/python/bin | |
| parent | 36fe66c164a9fdf1ff4ad085b6b68960c6170000 (diff) | |
lkdtm: clean up sparse warnings
Since lkdtm intentionally does "bad" things, we need to convince sparse
that we're doing these things on purpose. This adds an explicit cast
to the call to copy_to_user() and marks the spin lock as expecting
to dead-lock.
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions