[sheepdog] [PATCH 2/2] checkpatch.pl: trivial fix in bzero() checking
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Fri Nov 30 09:51:37 CET 2012
Verry sorry, my previous change: da1c1b57789 didn't print positions of
bzero() calling in checked patches. This patch fix the problem.
Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
script/checkpatch.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/script/checkpatch.pl b/script/checkpatch.pl
index 3688131..9370dd9 100755
--- a/script/checkpatch.pl
+++ b/script/checkpatch.pl
@@ -3348,7 +3348,7 @@ sub process {
}
if ($line =~ /\bbzero\(/) {
- ERROR("BZERO", "bzero() is obsolete, use memset()");
+ ERROR("BZERO", "bzero() is obsolete, use memset()" . $herecurr);
}
}
--
1.7.2.5
More information about the sheepdog
mailing list