
3 Jul
2009
3 Jul
'09
8:38 a.m.
Dear all,
2009/7/3 Po-Yu Chuang ratbert.chuang@gmail.com:
please check your patch with checkpatch.pl script. It would warn you about such code style errors.
Do you mean no braces for single statement block? Itcomes from linux coding style.
I use Lindent -pcs which is suggested in u-boot coding style. It adds spaces before parameters to function calls. This causes checkpatch.pl to create a lot of warning. checkpatch.pl from linux doesn't seem to work well with u-boot coding style, but it is helpful still. Thanks.
I will resubmit the all the patches which fixed warnings told by checkpatch.pl (except spaces after function name).
regards, Po-Yu Chuang