Skip to contentSkip to conversation

staging: speakup: move comment up to reduce 80 chars limit

PATCH In review Ioannis Valasakis 2 participants 2 messages Nov 6, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: speakup: move comment up to reduce 80 chars limit

Move two line comments up in order to reduce the 80 chars exceeding limit. Reported by checkpatch.

---
 drivers/staging/speakup/spk_priv_keyinfo.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/speakup/spk_priv_keyinfo.h +4 -2
index cc99fcd1bc6e..493f4ebb3473 100644
@@ -61,11 +61,13 @@
 #define SPEAKUP_HELP		0x2d
 #define TOGGLE_CURSORING	0x2e
 #define READ_ALL_DOC		0x2f
-#define SPKUP_MAX_FUNC		0x30 /* one greater than the last func handler */
+/* one greater than the last func handler */
+#define SPKUP_MAX_FUNC		0x30
 #define SPK_KEY		0x80
 #define FIRST_EDIT_BITS	0x22
 #define FIRST_SET_VAR SPELL_DELAY
-#define VAR_START		0x40 /* increase if adding more than 0x3f functions */
+/* increase if adding more than 0x3f functions */
+#define VAR_START		0x40
 
 /* keys for setting variables, must be ordered same as the enum for var_ids */
 /* with dec being even and inc being 1 greater */
Signature · 1 line
2.19.1
#1 lore raw
Quoted 2 lines · Ioannis Valasakis

Move two line comments up in order to reduce the 80 chars exceeding limit. Reported by checkpatch.

"in order to avoid exceeding 80 chars" would be a bit clearer.

julia

Quoted 37 lines
---
 drivers/staging/speakup/spk_priv_keyinfo.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/speakup/spk_priv_keyinfo.h +4 -3
index cc99fcd1bc6e..493f4ebb3473 100644
@@ -61,11 +61,13 @@
 #define SPEAKUP_HELP		0x2d
 #define TOGGLE_CURSORING	0x2e
 #define READ_ALL_DOC		0x2f
-#define SPKUP_MAX_FUNC		0x30 /* one greater than the last func handler */
+/* one greater than the last func handler */
+#define SPKUP_MAX_FUNC		0x30
 #define SPK_KEY		0x80
 #define FIRST_EDIT_BITS	0x22
 #define FIRST_SET_VAR SPELL_DELAY
-#define VAR_START		0x40 /* increase if adding more than 0x3f functions */
+/* increase if adding more than 0x3f functions */
+#define VAR_START		0x40
 
 /* keys for setting variables, must be ordered same as the enum for var_ids */
 /* with dec being even and inc being 1 greater */
--

2.19.1

--
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/20181106022504.GA12155%40kvasir.local.
For more options, visit https://groups.google.com/d/optout.