diff options
author | Andy Whitcroft <apw@canonical.com> | 2012-03-23 15:02:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:36 -0700 |
commit | e45bab8ebfee65ba89b228c1e7c64a6cb0812124 (patch) | |
tree | fe61be22fa4438d5bd132712e730daca9cbf341b /fs/jbd | |
parent | b9df76ac76da351cd4f6ba52369e9a64e9ab686d (diff) | |
download | kernel-common-e45bab8ebfee65ba89b228c1e7c64a6cb0812124.tar.gz kernel-common-e45bab8ebfee65ba89b228c1e7c64a6cb0812124.tar.bz2 kernel-common-e45bab8ebfee65ba89b228c1e7c64a6cb0812124.zip |
checkpatch: handle string concatenation in simple #defines
Adjacent strings indicate concatentation, therefore look at identifiers
directly adjacent to literal strings as strings too. This allows us to
better detect the form below and accept it as a simple constant:
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jbd')
0 files changed, 0 insertions, 0 deletions