Skip to contentSkip to conversation

Fix typo in gpio-utils

PATCH In review Mykyta Poturai 2 participants 2 messages Mar 19, 2020 – Mar 20, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in gpio-utils

---
 tools/gpio/gpio-utils.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/gpio/gpio-utils.c +3 -3
index 53470de..0600378 100644
@@ -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;
 
Signature · 1 line
2.7.4
#1 lore raw

czw., 19 mar 2020 o 21:56 Mykyta Poturai <[email protected]> napisał(a):

Quoted 2 lines

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