All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] tools/lib/thermal: remove unneeded semicolon
@ 2022-04-27  3:06 Jiapeng Chong
  2022-04-27  3:06 ` [PATCH 2/2] tools/thermal: " Jiapeng Chong
  2022-05-19 12:44 ` [thermal: thermal/next] tools/lib/thermal: " thermal-bot for Jiapeng Chong
  0 siblings, 2 replies; 4+ messages in thread
From: Jiapeng Chong @ 2022-04-27  3:06 UTC (permalink / raw)
  To: rafael
  Cc: daniel.lezcano, amitk, rui.zhang, linux-pm, linux-kernel,
	Jiapeng Chong, Abaci Robot

Fix the following coccicheck warnings:

./tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 tools/lib/thermal/commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/thermal/commands.c b/tools/lib/thermal/commands.c
index 4e289ca1e5f3..73d4d4e8d6ec 100644
--- a/tools/lib/thermal/commands.c
+++ b/tools/lib/thermal/commands.c
@@ -212,7 +212,7 @@ static int handle_netlink(struct nl_cache_ops *unused,
 
 	default:
 		return THERMAL_ERROR;
-	};
+	}
 
 	return ret;
 }
-- 
2.20.1.7.g153144c


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

* [PATCH 2/2] tools/thermal: remove unneeded semicolon
  2022-04-27  3:06 [PATCH 1/2] tools/lib/thermal: remove unneeded semicolon Jiapeng Chong
@ 2022-04-27  3:06 ` Jiapeng Chong
  2022-05-19 12:44   ` [thermal: thermal/next] " thermal-bot for Jiapeng Chong
  2022-05-19 12:44 ` [thermal: thermal/next] tools/lib/thermal: " thermal-bot for Jiapeng Chong
  1 sibling, 1 reply; 4+ messages in thread
From: Jiapeng Chong @ 2022-04-27  3:06 UTC (permalink / raw)
  To: rafael
  Cc: daniel.lezcano, amitk, rui.zhang, linux-pm, linux-kernel,
	Jiapeng Chong, Abaci Robot

Fix the following coccicheck warnings:

./tools/thermal/thermometer/thermometer.c:147:3-4: Unneeded semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 tools/thermal/thermometer/thermometer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/thermal/thermometer/thermometer.c b/tools/thermal/thermometer/thermometer.c
index 914986f20a37..1a87a0a77f9f 100644
--- a/tools/thermal/thermometer/thermometer.c
+++ b/tools/thermal/thermometer/thermometer.c
@@ -144,7 +144,7 @@ static int configuration_init(const char *path, struct configuration *config)
 		if (!node) {
 			ERROR("Missing node name '%d'\n", i);
 			return -1;
-		};
+		}
 
 		if (!config_setting_lookup_string(node, "name", &name)) {
 			ERROR("Thermal zone name not found\n");
-- 
2.20.1.7.g153144c


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

* [thermal: thermal/next] tools/thermal: remove unneeded semicolon
  2022-04-27  3:06 ` [PATCH 2/2] tools/thermal: " Jiapeng Chong
@ 2022-05-19 12:44   ` thermal-bot for Jiapeng Chong
  0 siblings, 0 replies; 4+ messages in thread
From: thermal-bot for Jiapeng Chong @ 2022-05-19 12:44 UTC (permalink / raw)
  To: linux-pm; +Cc: Abaci Robot, Jiapeng Chong, Daniel Lezcano, rui.zhang, amitk

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     cb4487d2b4043bbe98f60f2628387b40fa4896f8
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//cb4487d2b4043bbe98f60f2628387b40fa4896f8
Author:        Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
AuthorDate:    Wed, 27 Apr 2022 11:06:19 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Thu, 19 May 2022 12:11:52 +02:00

tools/thermal: remove unneeded semicolon

Fix the following coccicheck warnings:

./tools/thermal/thermometer/thermometer.c:147:3-4: Unneeded semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220427030619.81556-2-jiapeng.chong@linux.alibaba.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 tools/thermal/thermometer/thermometer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/thermal/thermometer/thermometer.c b/tools/thermal/thermometer/thermometer.c
index 914986f..1a87a0a 100644
--- a/tools/thermal/thermometer/thermometer.c
+++ b/tools/thermal/thermometer/thermometer.c
@@ -144,7 +144,7 @@ static int configuration_init(const char *path, struct configuration *config)
 		if (!node) {
 			ERROR("Missing node name '%d'\n", i);
 			return -1;
-		};
+		}
 
 		if (!config_setting_lookup_string(node, "name", &name)) {
 			ERROR("Thermal zone name not found\n");

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

* [thermal: thermal/next] tools/lib/thermal: remove unneeded semicolon
  2022-04-27  3:06 [PATCH 1/2] tools/lib/thermal: remove unneeded semicolon Jiapeng Chong
  2022-04-27  3:06 ` [PATCH 2/2] tools/thermal: " Jiapeng Chong
@ 2022-05-19 12:44 ` thermal-bot for Jiapeng Chong
  1 sibling, 0 replies; 4+ messages in thread
From: thermal-bot for Jiapeng Chong @ 2022-05-19 12:44 UTC (permalink / raw)
  To: linux-pm; +Cc: Abaci Robot, Jiapeng Chong, Daniel Lezcano, rui.zhang, amitk

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     f21b57eb12bfe0d38794145f976ca8127d8846db
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//f21b57eb12bfe0d38794145f976ca8127d8846db
Author:        Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
AuthorDate:    Wed, 27 Apr 2022 11:06:18 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Thu, 19 May 2022 12:11:52 +02:00

tools/lib/thermal: remove unneeded semicolon

Fix the following coccicheck warnings:

./tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220427030619.81556-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 tools/lib/thermal/commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/thermal/commands.c b/tools/lib/thermal/commands.c
index 4e289ca..73d4d4e 100644
--- a/tools/lib/thermal/commands.c
+++ b/tools/lib/thermal/commands.c
@@ -212,7 +212,7 @@ static int handle_netlink(struct nl_cache_ops *unused,
 
 	default:
 		return THERMAL_ERROR;
-	};
+	}
 
 	return ret;
 }

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

end of thread, other threads:[~2022-05-19 12:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-27  3:06 [PATCH 1/2] tools/lib/thermal: remove unneeded semicolon Jiapeng Chong
2022-04-27  3:06 ` [PATCH 2/2] tools/thermal: " Jiapeng Chong
2022-05-19 12:44   ` [thermal: thermal/next] " thermal-bot for Jiapeng Chong
2022-05-19 12:44 ` [thermal: thermal/next] tools/lib/thermal: " thermal-bot for Jiapeng Chong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.