All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix typo in gpio-utils
@ 2020-03-19 20:55 Mykyta Poturai
  2020-03-20 17:24 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Mykyta Poturai @ 2020-03-19 20:55 UTC (permalink / raw)
  To: linux-gpio

Signed-off-by: Mykyta Poturai <mykyta.poturai@gmail.com>
---
 tools/gpio/gpio-utils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/gpio/gpio-utils.c b/tools/gpio/gpio-utils.c
index 53470de..0600378 100644
--- a/tools/gpio/gpio-utils.c
+++ b/tools/gpio/gpio-utils.c
@@ -17,7 +17,7 @@
 #include <linux/gpio.h>
 #include "gpio-utils.h"
 
-#define COMSUMER "gpio-utils"
+#define CONSUMER "gpio-utils"
 
 /**
  * doc: Operation of gpio
@@ -209,7 +209,7 @@ int gpiotools_gets(const char *device_name, unsigned int *lines,
 
 	ret = gpiotools_request_linehandle(device_name, lines, nlines,
 					   GPIOHANDLE_REQUEST_INPUT, data,
-					   COMSUMER);
+					   CONSUMER);
 	if (ret < 0)
 		return ret;
 
@@ -259,7 +259,7 @@ int gpiotools_sets(const char *device_name, unsigned int *lines,
 
 	ret = gpiotools_request_linehandle(device_name, lines, nlines,
 					   GPIOHANDLE_REQUEST_OUTPUT, data,
-					   COMSUMER);
+					   CONSUMER);
 	if (ret < 0)
 		return ret;
 
-- 
2.7.4


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

* Re: [PATCH] Fix typo in gpio-utils
  2020-03-19 20:55 [PATCH] Fix typo in gpio-utils Mykyta Poturai
@ 2020-03-20 17:24 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2020-03-20 17:24 UTC (permalink / raw)
  To: Mykyta Poturai; +Cc: open list:GPIO SUBSYSTEM

czw., 19 mar 2020 o 21:56 Mykyta Poturai <mykyta.poturai@gmail.com> napisał(a):
>
> Signed-off-by: Mykyta Poturai <mykyta.poturai@gmail.com>

Hi Mykyta,

please read through the files in Documentation/process/* - they
describe the way patches should be submitted. You need to use
scripts/checkpatch.pl on your patch - it would tell you you need to
add some commit description even for trivial changes. You should also
use scripts/get_maintainer.pl to get the list of addresses to CC on
your submission.

Best regards,
Bartosz Golaszewski

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

end of thread, other threads:[~2020-03-20 17:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 20:55 [PATCH] Fix typo in gpio-utils Mykyta Poturai
2020-03-20 17:24 ` Bartosz Golaszewski

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.