linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] pinctrl: starfive: remove unneeded semicolon
@ 2021-12-20  6:24 Yang Li
  2021-12-22  2:16 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-12-20  6:24 UTC (permalink / raw)
  To: kernel; +Cc: linus.walleij, linux-gpio, linux-kernel, Yang Li, Abaci Robot

Eliminate the following coccicheck warning:
./drivers/pinctrl/pinctrl-starfive.c:1029:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/pinctrl/pinctrl-starfive.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-starfive.c b/drivers/pinctrl/pinctrl-starfive.c
index 0b912152a405..ed6c9b36849b 100644
--- a/drivers/pinctrl/pinctrl-starfive.c
+++ b/drivers/pinctrl/pinctrl-starfive.c
@@ -1026,7 +1026,7 @@ static int starfive_gpio_set_config(struct gpio_chip *gc, unsigned int gpio,
 		break;
 	default:
 		return -ENOTSUPP;
-	};
+	}
 
 	starfive_padctl_rmw(sfp, starfive_gpio_to_pin(sfp, gpio), mask, value);
 	return 0;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] pinctrl: starfive: remove unneeded semicolon
  2021-12-20  6:24 [PATCH -next] pinctrl: starfive: remove unneeded semicolon Yang Li
@ 2021-12-22  2:16 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2021-12-22  2:16 UTC (permalink / raw)
  To: Yang Li; +Cc: kernel, linux-gpio, linux-kernel, Abaci Robot, SoC Team

On Mon, Dec 20, 2021 at 7:24 AM Yang Li <yang.lee@linux.alibaba.com> wrote:

> Eliminate the following coccicheck warning:
> ./drivers/pinctrl/pinctrl-starfive.c:1029:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

This patch is not in the pinctrl tree, I guess it is in the SoC
tree and need to be applied there.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-22  2:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-20  6:24 [PATCH -next] pinctrl: starfive: remove unneeded semicolon Yang Li
2021-12-22  2:16 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).