mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
3d1c2f72a9
commit
30ecad5184
1 changed files with 2 additions and 1 deletions
|
@ -2574,7 +2574,8 @@ sub process {
|
|||
} else {
|
||||
$cast = $cast2;
|
||||
}
|
||||
WARN("$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . $herecurr);
|
||||
WARN("MINMAX",
|
||||
"$call() should probably be ${call}_t($cast, $arg1, $arg2)\n" . $herecurr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue