tools/thermal: fix typo "binded" in comments
PATCH v2 1/1 tools/thermal: fix typo "binded" in comments
"binded" is not a word; the past participle of "bind" is "bound".
The tmon.h comment counts cooling devices, so the noun is plural there, matching the wording already used for MAX_NR_CDEV_TRIP. The tui.c clause needs "is" to read as a sentence.
Only touches comments, no code changes.
---
Randy, your Reviewed-by was for the v1 series; the two hunks below changed after it, so please say if you would rather I dropped the tag.
v2: tmon.h: "cooling device" -> "cooling devices". Randy Dunlap pointed
out the comment counts devices, and MAX_NR_CDEV_TRIP just above it already uses the plural.
tui.c: "is bound to" rather than plain "bound to". v1 left the comment reading "trip point id that bound to this cdev", which is still not a sentence.
sysfs.c is unchanged from v1.
v1: https://lore.kernel.org/all/[email protected]/
tools/thermal/tmon/sysfs.c | 2 +- tools/thermal/tmon/tmon.h | 2 +- tools/thermal/tmon/tui.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
tools/thermal/tmon/sysfs.c +1 -1
@@ -225,7 +225,7 @@ static int find_tzone_cdev(struct dirent *nl, char *tz_name, cdev_name, cdev_name_linked, cdev_id); tzi->cdev_binding |= (1 << cdev_id); -/* find the trip point in which the cdev is binded to +/* find the trip point in which the cdev is bound to * in this tzone */ snprintf(cdev_trip_name, sizeof(cdev_trip_name) - 1,
tools/thermal/tmon/tmon.h +1 -1
@@ -77,7 +77,7 @@ struct tz_info {char type[256 ];/* e.g. acpitz */ int instance;int passive;/* active zone has passive node to force passive mode */ -int nr_cdev;/* number of cooling device binded */ +int nr_cdev;/* number of cooling devices bound */ int nr_trip_pts;struct trip_point tp[MAX_NR_TRIP ];unsigned long cdev_binding;/* bitmap for attached cdevs */
tools/thermal/tmon/tui.c +1 -1
@@ -238,7 +238,7 @@ void show_cooling_device(void)unsigned long trip_binding = ptdata.tzi[i].trip_binding[cdev_inst];int k =0 ;/* per zone trip point id that -* binded to this cdev, one to +* is bound to this cdev, one to * many possible based on the * binding bitmask. */
Signature · 1 line
2.48.1
Daniel Lezcano
AppliedQuoted 11 lines · Hemanth Selam
"binded" is not a word; the past participle of "bind" is "bound".
The
tmon.hcomment counts cooling devices, so the noun is plural there, matching the wording already used forMAX_NR_CDEV_TRIP. Thetui.cclause needs "is" to read as a sentence.Only touches comments, no code changes.
Reviewed-by Randy Dunlap <[email protected]>Signed-off-by Hemanth Selam <[email protected]>---
Applied, thanks
[thermal: thermal/linux-next] tools/thermal: Fix typo "binded" in comments
In reply to Hemanth SelamThe following commit has been merged into the thermal/linux-next branch of thermal:
The following commit has been merged into the thermal/linux-next branch of thermal:
Commit-ID: 7cbf4366da396f415e9c9f1d5b11b45ebdf59ec3 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//7cbf4366da396f415e9c9f1d5b11b45ebdf59ec3 Author: Hemanth Selam <[email protected]> AuthorDate: Thu, 17 Sep 2026 13:30:02 +05:30 Committer: Daniel Lezcano <[email protected]> CommitterDate: Fri, 18 Sep 2026 11:06:07 +02:00
tools/thermal: Fix typo "binded" in comments
"binded" is not a word; the past participle of "bind" is "bound".
The tmon.h comment counts cooling devices, so the noun is plural there, matching the wording already used for MAX_NR_CDEV_TRIP. The tui.c clause needs "is" to read as a sentence.
Only touches comments, no code changes.
--- tools/thermal/tmon/sysfs.c | 2 +- tools/thermal/tmon/tmon.h | 2 +- tools/thermal/tmon/tui.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
tools/thermal/tmon/sysfs.c +1 -1
@@ -225,7 +225,7 @@ static int find_tzone_cdev(struct dirent *nl, char *tz_name, cdev_name, cdev_name_linked, cdev_id); tzi->cdev_binding |= (1 << cdev_id); -/* find the trip point in which the cdev is binded to +/* find the trip point in which the cdev is bound to * in this tzone */ snprintf(cdev_trip_name, sizeof(cdev_trip_name) - 1,
tools/thermal/tmon/tmon.h +1 -1
@@ -77,7 +77,7 @@ struct tz_info {char type[256 ];/* e.g. acpitz */ int instance;int passive;/* active zone has passive node to force passive mode */ -int nr_cdev;/* number of cooling device binded */ +int nr_cdev;/* number of cooling devices bound */ int nr_trip_pts;struct trip_point tp[MAX_NR_TRIP ];unsigned long cdev_binding;/* bitmap for attached cdevs */
tools/thermal/tmon/tui.c +1 -1
@@ -238,7 +238,7 @@ void show_cooling_device(void)unsigned long trip_binding = ptdata.tzi[i].trip_binding[cdev_inst];int k =0 ;/* per zone trip point id that -* binded to this cdev, one to +* is bound to this cdev, one to * many possible based on the * binding bitmask. */