checkpatch: format strings should not have brackets in macros
authorAndy Whitcroft <apw@canonical.com>
Tue, 22 Sep 2009 00:04:38 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:48 +0000 (07:17 -0700)
commitea71a0a019f913bdf506103bd90140d93a2b83f0
tree0d5cf1171809bf012054c7a028beb93450a664fa
parent77f5b10a82bbd832c99ec4b120d5645342a5b140
checkpatch: format strings should not have brackets in macros

We should not recommend braces for the following:

    #define pr_fmt(fmt)    "%s: " fmt, __func__

allow things with double quotes round them to avoid this check.

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