]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add missing WARN argument for min_t and max_t tests
authorHui Zhu <teawater@gmail.com>
Thu, 25 Aug 2011 22:59:08 +0000 (15:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Aug 2011 23:25:33 +0000 (16:25 -0700)
commit64e3a9c250411fafb5cc4a2d6fbda9a4bebc3e7a
treecf6781cde6f1929c93c2d3c393188257aa7031e9
parentaadc05a97f213a1cf05687b0b1d0c0a0b9e6742e
checkpatch: add missing WARN argument for min_t and max_t tests

The test for bad usage of min_t() and max_t() is missing the --ignore
type.  Add it.

Signed-off-by: Hui Zhu <teawater@gmail.com>
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