checkpatch: add #define foo "string" long line exception
authorJoe Perches <joe@perches.com>
Thu, 16 Apr 2015 19:44:30 +0000 (12:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:03:57 +0000 (09:03 -0400)
commit29a3c46673a5e3ee22feaba7020a280486c78f0a
tree998900ac47d2f2603c056db112e09551cc5da21f
parent2a076f40d8c9be95bee7bcf18436655e1140447f
checkpatch: add #define foo "string" long line exception

There are #defines with long string constants like:
#define foo "some really long string > 80 columns"
Add a long line exception for them.

Miscellanea:

Use the $String variable for slightly better readability

Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Cc: 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