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)
commite2826fd07029e14285c178b41b18f6edc3b15a84
tree498d3b5a5434aa0b4ae94cf0708d97650eb8327f
parent8d73e0e7dc18a39b120cb85ec675d59516e0af1a
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