On Tue, Nov 22, 2016 at 10:33:27AM +0800, Caesar Wang wrote: > 在 2016年11月22日 10:15, Brian Norris 写道: > >On Tue, Nov 22, 2016 at 09:51:23AM +0800, Caesar Wang wrote: > >>CHECK: Alignment should match open parenthesis > >>#428: FILE: drivers/thermal/rockchip_thermal.c:428: > >>+ pr_err("%s: invalid temperature, temp=%d error=%d\n", > >>+ __func__, temp, error); > >> > >>CHECK: Alignment should match open parenthesis > >>#480: FILE: drivers/thermal/rockchip_thermal.c:480: > >>+ pr_err("%s: invalid conversion table, mode=%d\n", > >>+ __func__, table->mode); > >What patch are you checking? I ran mine through checkpatch, and there > >are no problems. > > That just checkcode on Chromeos kernelv4.4, that trivial things :) > $chromiumos/src/third_party/kernel/v4.4$ checkcode
I'm not familiar with that tool, and that repository isn't upstream but... > drivers/thermal/rockchip_thermal.c > CHECK: Alignment should match open parenthesis > #428: FILE: drivers/thermal/rockchip_thermal.c:428: > + pr_err("%s: invalid temperature, temp=%d error=%d\n", > + __func__, temp, error); ...on approximately my 10th read of this...I guess maybe this tool has determined that 2 tabs is 1 character too much, because the second line lines up with the '%' instead of the '"'. If this is so important to you, you can of course edit my patch and include it with yours. Regards, Brian