checkpatch: don't emit the CamelCase warning for PageFoo
authorJoe Perches <joe@perches.com>
Fri, 22 Feb 2013 00:44:17 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:26 +0000 (17:22 -0800)
commite8eb3997ce2f5887472a674b32f295b0196ecf46
tree85cec0f6a05582bf6e255b4492026d863cc59fc3
parent10d83f07103f3af0d7e8d73d8d5ffa76e900fd04
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl