summaryrefslogtreecommitdiffstats
path: root/scripts/headers_install.sh
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-06-05 01:12:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 01:54:20 +0200
commit60a55369aad3336e604218abf2057363f69c0722 (patch)
treea0794f63296fdd7f0d087392e071894b7eed9bb1 /scripts/headers_install.sh
parentcheckpatch: warn on #defines ending in semicolon (diff)
downloadlinux-60a55369aad3336e604218abf2057363f69c0722.tar.xz
linux-60a55369aad3336e604218abf2057363f69c0722.zip
checkpatch: add warning for kmalloc/kzalloc with multiply
Protect against sizeof overflows by preferring kmalloc_array/kcalloc over kmalloc/kzalloc with a sizeof multiply. Signed-off-by: Joe Perches <joe@perches.com> Cc: Andy Whitcroft <apw@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/headers_install.sh')
0 files changed, 0 insertions, 0 deletions