diff options
author | Joe Perches <joe@perches.com> | 2015-04-16 12:44:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:03:59 -0400 |
commit | e0df7e1faebad9a7ac0931d03f86fcd5c0d1896e (patch) | |
tree | af960392072968740794d8e8b9cf1e42cf1c0ff2 /net/hsr | |
parent | 323b267faff4db5f2424b6c09ab78a272393b69e (diff) | |
download | op-kernel-dev-e0df7e1faebad9a7ac0931d03f86fcd5c0d1896e.zip op-kernel-dev-e0df7e1faebad9a7ac0931d03f86fcd5c0d1896e.tar.gz |
checkpatch: avoid "spaces required around that ':'" false positive
Since commit 1f65f947a6a8 ("checkpatch: add checks for question mark and
colon spacing") back in 2008, checkpatch has reported false positive for
asm volatile uses of "::" checkpatch thinks colons should always have
spaces around it.
Add an exception for colons with colons on either side for this valid asm
volatile (and c++) use.
Signed-off-by: Joe Perches <joe@perches.com>
Reported-by: Yehuda Yitschak <yehuday@marvell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions