]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: don't emit the CamelCase warning for PageFoo
authorJoe Perches <joe@perches.com>
Wed, 20 Feb 2013 02:15:35 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:20 +0000 (16:53 +1100)
commit1d29816116d832f28b7cdc556de53152a40daae0
tree4f5cc74ff15cf893bca8a38481fcec8456fc331a
parent8316b2e4e0c3163a463c69a0242730e556099114
checkpatch: don't emit the CamelCase warning for PageFoo

I'm getting a ton of these:

WARNING: Avoid CamelCase: <PageTransHuge>
#140: FILE: mm/migrate.c:1576:
+       if (PageTransHuge(page) && page_count(page) != 3) {

So exclude anything which starts with "Page".

Tested-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl