
24 Jan
2013
24 Jan
'13
8:09 p.m.
On 01/24/2013 12:47:10 PM, York Sun wrote:
diff --git a/tools/patman/checkpatch.py b/tools/patman/checkpatch.py index d831087..28b3240 100644 --- a/tools/patman/checkpatch.py +++ b/tools/patman/checkpatch.py @@ -48,12 +48,12 @@ def FindCheckPatch(): print 'Could not find checkpatch.pl' return None
-def CheckPatch(fname, verbose=False): +def CheckPatch(fname, verbose=false): """Run checkpatch.pl on a file.
Returns: 4-tuple containing:
result: False=failure, True=ok
result: false=failure, true=ok problems: List of problems, each a dict: 'type'; error or warning 'msg': text message
You should probably limit the change to C code. :-)
-Scott