mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tools/gpio: fix typo "amount of times" in comment
@ 2026-09-04 10:59 Hemanth Selam
  2026-09-07  8:38 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:59 UTC (permalink / raw)
  To: Bartosz Golaszewski, Kent Gibson; +Cc: linux-kernel, linux-gpio

Correct "amount of times" to "number of times", reported by
scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt.
Only touches comments, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 tools/gpio/gpio-hammer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/gpio/gpio-hammer.c b/tools/gpio/gpio-hammer.c
index ba0866eb3581..1a21e5460242 100644
--- a/tools/gpio/gpio-hammer.c
+++ b/tools/gpio/gpio-hammer.c
@@ -145,7 +145,7 @@ int main(int argc, char **argv)
 		case 'o':
 			/*
 			 * Avoid overflow. Do not immediately error, we want to
-			 * be able to accurately report on the amount of times
+			 * be able to accurately report on the number of times
 			 * '-o' was given to give an accurate error message
 			 */
 			if (i < GPIOHANDLES_MAX)
-- 
2.48.1


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

* Re: [PATCH] tools/gpio: fix typo "amount of times" in comment
  2026-09-04 10:59 [PATCH] tools/gpio: fix typo "amount of times" in comment Hemanth Selam
@ 2026-09-07  8:38 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2026-09-07  8:38 UTC (permalink / raw)
  To: Bartosz Golaszewski, Kent Gibson, Hemanth Selam
  Cc: Bartosz Golaszewski, linux-kernel, linux-gpio


On Fri, 04 Sep 2026 16:29:14 +0530, Hemanth Selam wrote:
> Correct "amount of times" to "number of times", reported by
> scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt.
> Only touches comments, no code changes.
> 
> 

Applied, thanks!

[1/1] tools/gpio: fix typo "amount of times" in comment
      https://git.kernel.org/brgl/c/6f2e63ef82062a5254f43e0d499053f1e1b19f8b

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

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

end of thread, other threads:[~2026-09-07  8:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 10:59 [PATCH] tools/gpio: fix typo "amount of times" in comment Hemanth Selam
2026-09-07  8:38 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®