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)
commit30ecad51849ae132dc6ef6ddb62d499c7257515b
treecf6781cde6f1929c93c2d3c393188257aa7031e9
parent3d1c2f72a9464c9880054194af0c041d7beb9124
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