aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rt-tester
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-03 14:49:18 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 16:21:13 -0700
commit9b0fa60d9be0a82bc9e49bdd2dcacdfe4d1d5192 (patch)
tree6c3fa27f737a6a5221469ea0771da14b9fbdf2cd /scripts/rt-tester
parentcheckpatch: fix jiffies comparison and others (diff)
downloadlinux-dev-9b0fa60d9be0a82bc9e49bdd2dcacdfe4d1d5192.tar.xz
linux-dev-9b0fa60d9be0a82bc9e49bdd2dcacdfe4d1d5192.zip
checkpatch: add test for char * arrays that could be static const
static const char* arrays create smaller text as each function call does not have to populate the array. Emit a warning when char *arrays aren't static const and the array is not apparently global by being declared in the first column. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/rt-tester')
0 files changed, 0 insertions, 0 deletions