[U-Boot] [RFC Patch v5] Consolidate bool type
York Sun
yorksun at freescale.com
Thu Jan 24 20:13:27 CET 2013
On 01/24/2013 11:09 AM, Scott Wood wrote:
> 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. :-)
>
Nice catch. I forgot Python use True and False. Will fix.
York
More information about the U-Boot
mailing list