* [PATCH] soc: sunxi: sram: remove unneeded semicolon
@ 2020-09-10 14:05 Jason Yan
2020-09-11 15:03 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-09-10 14:05 UTC (permalink / raw)
To: mripard, wens, linux-arm-kernel, linux-kernel; +Cc: Hulk Robot, Jason Yan
Eliminate the following coccicheck warning:
drivers/soc/sunxi/sunxi_sram.c:197:2-3: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
drivers/soc/sunxi/sunxi_sram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
index 1b0d50f36349..d4c7bd59429e 100644
--- a/drivers/soc/sunxi/sunxi_sram.c
+++ b/drivers/soc/sunxi/sunxi_sram.c
@@ -194,7 +194,7 @@ static const struct sunxi_sram_data *sunxi_sram_of_parse(struct device_node *nod
if (!data) {
ret = -EINVAL;
goto err;
- };
+ }
for (func = data->func; func->func; func++) {
if (val == func->val) {
--
2.25.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] soc: sunxi: sram: remove unneeded semicolon
2020-09-10 14:05 [PATCH] soc: sunxi: sram: remove unneeded semicolon Jason Yan
@ 2020-09-11 15:03 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2020-09-11 15:03 UTC (permalink / raw)
To: Jason Yan; +Cc: Hulk Robot, wens, linux-kernel, linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 309 bytes --]
hi,
On Thu, Sep 10, 2020 at 10:05:46PM +0800, Jason Yan wrote:
> Eliminate the following coccicheck warning:
>
> drivers/soc/sunxi/sunxi_sram.c:197:2-3: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Jason Yan <yanaijie@huawei.com>
Applied, thanks!
Maxime
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 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] 2+ messages in thread
end of thread, other threads:[~2020-09-11 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 14:05 [PATCH] soc: sunxi: sram: remove unneeded semicolon Jason Yan
2020-09-11 15:03 ` Maxime Ripard
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).