checkpatch: fix stringification macro defect
authorJoe Perches <joe@perches.com>
Wed, 17 Apr 2013 22:58:26 +0000 (15:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Apr 2013 23:10:44 +0000 (16:10 -0700)
commite942e2c3f7e093fc8756dd8b47c93a821c09429f
tree78e410a09d5b9d0f7e7129bfe998658863cfaf16
parentd875cf08391a811703f8adf39db598cac9ece6a1
checkpatch: fix stringification macro defect

Fix checkpatch misreporting defect with stringification macros

ERROR: Macros with complex values should be enclosed in parenthesis
  #27: FILE: arch/arm/include/asm/kgdb.h:41:
  +#define ___to_string(X) #X

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Vincent Stehlé <v-stehle@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl