From: Joe Perches Date: Thu, 3 Apr 2014 21:49:18 +0000 (-0700) Subject: checkpatch: add test for char * arrays that could be static const X-Git-Tag: v3.15-rc1~106^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b0fa60d9be0a82bc9e49bdd2dcacdfe4d1d5192;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed