summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.kasan
diff options
context:
space:
mode:
authorRasmus Villemoes2015-04-16 21:44:56 +0200
committerLinus Torvalds2015-04-17 15:03:59 +0200
commit6ceafb880c218a14e0cf8d08499138a1a9775fb2 (patch)
tree19131ae8840571d482040ba266c95b3862628a4a /scripts/Makefile.kasan
parentcheckpatch: avoid "spaces required around that ':'" false positive (diff)
downloadkernel-qcow2-linux-6ceafb880c218a14e0cf8d08499138a1a9775fb2.tar.gz
kernel-qcow2-linux-6ceafb880c218a14e0cf8d08499138a1a9775fb2.tar.xz
kernel-qcow2-linux-6ceafb880c218a14e0cf8d08499138a1a9775fb2.zip
fs/binfmt_misc.c: simplify entry_status()
sprintf() reliably returns the number of characters printed, so we don't need to ask strlen() where we are. Also replace calling sprintf("%02x") in a loop with the much simpler bin2hex(). [akpm@linux-foundation.org: it's odd to include kernel.h after everything else] Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.kasan')
0 files changed, 0 insertions, 0 deletions