* [PATCH] pwm: fix semicolon.cocci warnings [not found] <202101282111.dfwxyPwI-lkp@intel.com> @ 2021-01-28 13:45 ` kernel test robot 2021-01-28 15:01 ` Vladimir Zapolskiy 2021-01-28 20:57 ` Uwe Kleine-König 0 siblings, 2 replies; 4+ messages in thread From: kernel test robot @ 2021-01-28 13:45 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: linux-pwm, kbuild-all, Martin Blumenstingl, linux-kernel, Vladimir Zapolskiy, Thierry Reding, Uwe Kleine-König, linux-arm-kernel From: kernel test robot <lkp@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") CC: Krzysztof Kozlowski <krzk@kernel.org> Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 76c057c84d286140c6c416c3b4ba832cd1d8984e commit: e96c0ff4b1e013a4e9174344b0fcda0d566d3689 pwm: Enable compile testing for some of drivers pwm-lpc18xx-sct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/pwm/pwm-lpc18xx-sct.c +++ b/drivers/pwm/pwm-lpc18xx-sct.c @@ -289,7 +289,7 @@ static int lpc18xx_pwm_request(struct pw dev_err(lpc18xx_pwm->dev, "maximum number of simultaneous channels reached\n"); return -EBUSY; - }; + } set_bit(event, &lpc18xx_pwm->event_map); lpc18xx_data->duty_event = event; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pwm: fix semicolon.cocci warnings 2021-01-28 13:45 ` [PATCH] pwm: fix semicolon.cocci warnings kernel test robot @ 2021-01-28 15:01 ` Vladimir Zapolskiy 2021-01-28 20:57 ` Uwe Kleine-König 1 sibling, 0 replies; 4+ messages in thread From: Vladimir Zapolskiy @ 2021-01-28 15:01 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: linux-pwm, kbuild-all, kernel test robot, Martin Blumenstingl, linux-kernel, Thierry Reding, Uwe Kleine-König, linux-arm-kernel On 1/28/21 3:45 PM, kernel test robot wrote: > From: kernel test robot <lkp@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") > CC: Krzysztof Kozlowski <krzk@kernel.org> > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: kernel test robot <lkp@intel.com> Acked-by: Vladimir Zapolskiy <vz@mleia.com> -- Best wishes, Vladimir _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pwm: fix semicolon.cocci warnings 2021-01-28 13:45 ` [PATCH] pwm: fix semicolon.cocci warnings kernel test robot 2021-01-28 15:01 ` Vladimir Zapolskiy @ 2021-01-28 20:57 ` Uwe Kleine-König 2021-01-29 16:51 ` Vladimir Zapolskiy 1 sibling, 1 reply; 4+ messages in thread From: Uwe Kleine-König @ 2021-01-28 20:57 UTC (permalink / raw) To: kernel test robot Cc: linux-pwm, kbuild-all, Martin Blumenstingl, linux-kernel, Krzysztof Kozlowski, Vladimir Zapolskiy, Thierry Reding, linux-arm-kernel [-- Attachment #1.1: Type: text/plain, Size: 1549 bytes --] Hello, On Thu, Jan 28, 2021 at 09:45:37PM +0800, kernel test robot wrote: > From: kernel test robot <lkp@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") Best regards Uwe > CC: Krzysztof Kozlowski <krzk@kernel.org> > Reported-by: kernel test robot <lkp@intel.com> > Signed-off-by: kernel test robot <lkp@intel.com> > --- > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 76c057c84d286140c6c416c3b4ba832cd1d8984e > commit: e96c0ff4b1e013a4e9174344b0fcda0d566d3689 pwm: Enable compile testing for some of drivers > > pwm-lpc18xx-sct.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/drivers/pwm/pwm-lpc18xx-sct.c > +++ b/drivers/pwm/pwm-lpc18xx-sct.c > @@ -289,7 +289,7 @@ static int lpc18xx_pwm_request(struct pw > dev_err(lpc18xx_pwm->dev, > "maximum number of simultaneous channels reached\n"); > return -EBUSY; > - }; > + } > > set_bit(event, &lpc18xx_pwm->event_map); > lpc18xx_data->duty_event = event; > -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ | [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --] [-- Attachment #2: Type: text/plain, Size: 176 bytes --] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pwm: fix semicolon.cocci warnings 2021-01-28 20:57 ` Uwe Kleine-König @ 2021-01-29 16:51 ` Vladimir Zapolskiy 0 siblings, 0 replies; 4+ messages in thread From: Vladimir Zapolskiy @ 2021-01-29 16:51 UTC (permalink / raw) To: Uwe Kleine-König, kernel test robot, kbuild-all, Krzysztof Kozlowski Cc: Martin Blumenstingl, linux-pwm, Thierry Reding, linux-kernel, linux-arm-kernel 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@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@kernel.org> >> Reported-by: kernel test robot <lkp@intel.com> >> Signed-off-by: kernel test robot <lkp@intel.com> -- Best wishes, Vladimir _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-29 16:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <202101282111.dfwxyPwI-lkp@intel.com>
2021-01-28 13:45 ` [PATCH] pwm: fix semicolon.cocci warnings kernel test robot
2021-01-28 15:01 ` Vladimir Zapolskiy
2021-01-28 20:57 ` Uwe Kleine-König
2021-01-29 16:51 ` Vladimir Zapolskiy
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox