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

v3 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

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

Added a space to align code.

---
 drivers/staging/speakup/i18n.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/i18n.c +1 -1
index f4b3f48..11f1418 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 12 lines · Tamara Diaconita

Added a space to align code.

---
 drivers/staging/speakup/i18n.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/i18n.c +0 -0
index f4b3f48..11f1418 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)) {

This fails when I try to apply it. I suspect that this is a patch against your previous patch, and not against the original code.

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/20170304180625.6456-1-diaconita.tamara%40gmail.com.
For more options, visit https://groups.google.com/d/optout.