]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: warn on unnecessary parentheses around references of foo->bar
authorJoe Perches <joe@perches.com>
Wed, 6 Aug 2014 23:10:48 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Aug 2014 01:01:28 +0000 (18:01 -0700)
commitb7d40bd5029812d7ebaaebc05f99876a2ed922ff
tree498d3b5a5434aa0b4ae94cf0708d97650eb8327f
parentf32be919bfcdaef1cebca1e5e5986c065a0bdb37
checkpatch: warn on unnecessary parentheses around references of foo->bar

Parentheses around &(foo->bar) and *(foo->bar) are unnecessary.  Emit a
--strict only message on these uses.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl