aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/adjust_autoksyms.sh
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2019-01-03 15:26:59 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-01-04 13:13:46 -0800
commit77b8c0a8e47484e205b01dfedcd224770aa9d800 (patch)
tree6c330016a11944d5dd5f9f0dd5b5e7651e1b35ae /scripts/adjust_autoksyms.sh
parentdrivers/firmware/memmap.c: modify memblock_alloc to memblock_alloc_nopanic (diff)
downloadlinux-dev-77b8c0a8e47484e205b01dfedcd224770aa9d800.tar.xz
linux-dev-77b8c0a8e47484e205b01dfedcd224770aa9d800.zip
checkpatch: warn on const char foo[] = "bar"; declarations
These declarations should generally be static const to avoid poor compilation and runtime performance where compilers tend to initialize the const declaration for every call instead of using .rodata for the string. Miscellanea: - Convert spaces to tabs for indentation in 2 adjacent checks Link: http://lkml.kernel.org/r/10ea5f4b087dc911e41e187a4a2b5e79c7529aa3.camel@perches.com Signed-off-by: Joe Perches <joe@perches.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/adjust_autoksyms.sh')
0 files changed, 0 insertions, 0 deletions