]> err.no Git - linux-2.6/commit
checkpatch: complex macros need to ignore comments
authorAndy Whitcroft <apw@shadowen.org>
Thu, 24 Jul 2008 04:29:11 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:26 +0000 (10:47 -0700)
commit292f1a9b342d763f94ea3915726a48905be4acd1
tree599e54b48cddb386cd373520ad85a4dc13b7087d
parent74048ed811152a995a88945ba9e0dded34adfff4
checkpatch: complex macros need to ignore comments

Ensure we ignore comments in complex macro detection else we incorrectly
report this:

#define PFM_GROUP_PERM_ANY     -1      /* any user/group */

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl