Skip to contentSkip to conversation

netdev: Remove unneeded semicolon

PATCH Applied Yang Li 4 participants 5 messages Sep 19, 2023 – Sep 21, 2023

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 netdev: Remove unneeded semicolon

./drivers/dpll/dpll_netlink.c:847:3-4: Unneeded semicolon

---
 drivers/dpll/dpll_netlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dpll/dpll_netlink.c +1 -1
index 764437a0661b..e20daba6896a 100644
@@ -844,7 +844,7 @@ dpll_pin_find(u64 clock_id, struct nlattr *mod_name_attr,
 				return ERR_PTR(-EINVAL);
 			}
 			pin_match = pin;
-		};
+		}
 	}
 	if (!pin_match) {
 		NL_SET_ERR_MSG(extack, "not found");
Signature · 1 line
2.20.1.7.g153144c
maintainer
#1 lore raw
Quoted 5 lines · Yang Li

./drivers/dpll/dpll_netlink.c:847:3-4: Unneeded semicolon

Hi Yang!
There was a report from Intel's bot too about the issue, could you please add the tags from it?

Thanks!

Quoted 17 lines
---
  drivers/dpll/dpll_netlink.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dpll/dpll_netlink.c +1 -1
index 764437a0661b..e20daba6896a 100644
@@ -844,7 +844,7 @@ dpll_pin_find(u64 clock_id, struct nlattr *mod_name_attr,
  				return ERR_PTR(-EINVAL);
  			}
  			pin_match = pin;
-		};
+		}
  	}
  	if (!pin_match) {
  		NL_SET_ERR_MSG(extack, "not found");
maintainer
#2 lore raw
Quoted 7 lines · Vadim Fedorenko
Quoted 5 lines · Yang Li

./drivers/dpll/dpll_netlink.c:847:3-4: Unneeded semicolon

Quoted 7 lines

Hi Yang!
There was a report from Intel's bot too about the issue, could you please add the tags from it?

Closes:
https://lore.kernel.org/oe-kbuild-all/[email protected]/

No need to repost, the pw tools import the above tags automatically.

Cheers,

Paolo

maintainer Reviewed-by
#3 lore raw
Quoted 12 lines · Paolo Abeni
Quoted 11 lines · Vadim Fedorenko
Quoted 5 lines · Yang Li

./drivers/dpll/dpll_netlink.c:847:3-4: Unneeded semicolon

Hi Yang!
There was a report from Intel's bot too about the issue, could you please add the tags from it?

Quoted 5 lines
Quoted 3 lines

Closes:
https://lore.kernel.org/oe-kbuild-all/[email protected]/

No need to repost, the pw tools import the above tags automatically.

Ok, cool.

The fix itself is trivial.

#4 lore raw
In reply to Yang Li
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 8 lines · On Tue, 19 Sep 2023 09:03:05 +0800 you wrote:

./drivers/dpll/dpll_netlink.c:847:3-4: Unneeded semicolon

---
 drivers/dpll/dpll_netlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [net-next] netdev: Remove unneeded semicolon

    https://git.kernel.org/netdev/net-next/c/f20161cf5165

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html