diff options
author | Joe Perches <joe@perches.com> | 2011-03-22 16:34:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-22 17:44:12 -0700 |
commit | 26297607e09ca6c7e6f2a6b86a8bee2f23503bb8 (patch) | |
tree | b0fbb98f7d25c5aa18f972cbcddb1c81035e387c /Documentation | |
parent | 3bb598fb23b6040e67b5e6db9a00b28cd26e5809 (diff) | |
download | blackbird-op-linux-26297607e09ca6c7e6f2a6b86a8bee2f23503bb8.tar.gz blackbird-op-linux-26297607e09ca6c7e6f2a6b86a8bee2f23503bb8.zip |
vsprintf: neaten %pK kptr_restrict, save a bit of code space
If kptr restrictions are on, just set the passed pointer to NULL.
$ size lib/vsprintf.o.*
text data bss dec hex filename
8247 4 2 8253 203d lib/vsprintf.o.new
8282 4 2 8288 2060 lib/vsprintf.o.old
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Dan Rosenberg <drosenberg@vsecurity.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions