git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36fe66c
)
lkdtm: clean up sparse warnings
author
Kees Cook
<keescook@chromium.org>
Mon, 11 Nov 2013 19:23:49 +0000
(11:23 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 06:39:51 +0000
(22:39 -0800)
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 <fengguang.wu@intel.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/lkdtm.c
patch
|
blob
|
history
diff --cc
drivers/misc/lkdtm.c
Simple merge