[PATCH] pwm: fix semicolon.cocci warnings

Vladimir Zapolskiy vz at mleia.com
Fri Jan 29 11:51:54 EST 2021


On 1/28/21 10:57 PM, Uwe Kleine-König wrote:
> Hello,
> 
> On Thu, Jan 28, 2021 at 09:45:37PM +0800, kernel test robot wrote:
>> From: kernel test robot <lkp at intel.com>
>>
>> drivers/pwm/pwm-lpc18xx-sct.c:292:2-3: Unneeded semicolon
>>
>>
>>   Remove unneeded semicolon.
>>
>> Generated by: scripts/coccinelle/misc/semicolon.cocci
>>
>> Fixes: e96c0ff4b1e0 ("pwm: Enable compile testing for some of drivers")
> 
> This looks wrong. e96c0ff4b1e0 only touches drivers/pwm/Kconfig.
> 
> The ; was introduced by commit 841e6f90bb78 ("pwm: NXP LPC18xx PWM/SCT
> driver")

Right, thank you for the correction, Uwe.

Since the patch has been composed by the robot, it has to be fixed
in the first place.

And regarding this particular change and in general fixes to this type
of issues detected by the robot, I don't think that it earns a Fixes tag.

>> CC: Krzysztof Kozlowski <krzk at kernel.org>
>> Reported-by: kernel test robot <lkp at intel.com>
>> Signed-off-by: kernel test robot <lkp at intel.com>

--
Best wishes,
Vladimir



More information about the linux-arm-kernel mailing list