Skip to contentSkip to conversation

staging:speakup:i18n.c: Delete tab to indent

PATCH Superseded Tamara Diaconita 2 participants 2 messages Mar 4, 2017 Staging

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging:speakup:i18n.c: Delete tab to indent

Deleted spaces and added a tab to fix the following checkpath.pl issue:
CHECK: indent should use tabs where possible.

---
 drivers/staging/speakup/i18n.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/i18n.c +1 -1
index 1a3e348..f4b3f48 100644
@@ -552,7 +552,7 @@ ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length)
 			if (index >= MSG_FORMATTED_START &&
 			    index <= MSG_FORMATTED_END &&
 			    !fmt_validate(speakup_default_msgs[index],
-			                  newstr)) {
+					 newstr)) {
 				kfree(newstr);
 				return -EINVAL;
 			}
Signature · 1 line
2.9.3
#1 lore raw
Quoted 13 lines · Tamara Diaconita

Deleted spaces and added a tab to fix the following checkpath.pl issue:
CHECK: indent should use tabs where possible.

---
 drivers/staging/speakup/i18n.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/i18n.c +0 -0
index 1a3e348..f4b3f48 100644

drivers/staging/speakup/i18n.c ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length) · line 555

Quoted 5 lines
drivers/staging/speakup/i18n.c +1 -1
@@ -552,7 +552,7 @@ ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length)
 			if (index >= MSG_FORMATTED_START &&
 			    index <= MSG_FORMATTED_END &&
 			    !fmt_validate(speakup_default_msgs[index],
-			                  newstr)) {
+					 newstr)) {

Still not quite right. newstr should start after the right side of the ( on the preceeding line. So it needs to move one more space over.

julia

Quoted 13 lines
drivers/staging/speakup/i18n.c +0 -1
 				kfree(newstr);
 				return -EINVAL;
 			}
--

2.9.3

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170304160408.4911-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.