]> 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)
commitce40b93f8e4034ba6696273dcf82aa45eb340f53
treecf6781cde6f1929c93c2d3c393188257aa7031e9
parentfca03110f1b64c155f38fff96d3a2e441f2e33e0
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