]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: avoid sscanf test duplicated messages
authorJoe Perches <joe@perches.com>
Thu, 3 Apr 2014 21:49:16 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:13 +0000 (16:21 -0700)
commit04465c3bfa6d64fb633cd99146398e1947e559ca
tree167ec6aaf5093374c0ad7e1cf08e059aaeae1852
parent6913e17b53a8a778acfb89e9d48e80a5562e1b69
checkpatch: avoid sscanf test duplicated messages

Change a test of $dstat to $line to avoid possibly emitting the sscanf
warning multiple times.

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