Skip to contentSkip to conversation

Correcting multi line comments' begin & end quotes

PATCH In review Gargi Sharma 2 participants 2 messages Sep 12, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Correcting multi line comments' begin & end quotes

checkpatch shows warning about end quotes not being in a different line.

---
 drivers/staging/ks7010/eap_packet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ks7010/eap_packet.h +1 -1
index 5f70fe1..53d803b 100644
@@ -51,7 +51,7 @@ enum { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2,
 struct ieee802_1x_eapol_key {
 	unsigned char type;
 	unsigned short key_length;
-	/* 
+	/*
 	 * does not repeat within the life of the keying material used to
 	 * encrypt the Key field; 64-bit NTP timestamp MAY be used here
 	 */
Signature · 1 line
2.9.2
#1 lore raw
Quoted 12 lines · Gargi Sharma

checkpatch shows warning about end quotes not being in a different line.

---
 drivers/staging/ks7010/eap_packet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/ks7010/eap_packet.h +0 -0
index 5f70fe1..53d803b 100644

drivers/staging/ks7010/eap_packet.h enum { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2, · line 57

Quoted 8 lines
drivers/staging/ks7010/eap_packet.h +1 -1
@@ -51,7 +51,7 @@ enum { EAPOL_KEY_TYPE_RC4 = 1, EAPOL_KEY_TYPE_RSN = 2,
 struct ieee802_1x_eapol_key {
 	unsigned char type;
 	unsigned short key_length;
-	/*
+	/*
 	 * does not repeat within the life of the keying material used to
 	 * encrypt the Key field; 64-bit NTP timestamp MAY be used here
 	 */

This patch appears to be on top of the previous one. If you need to correct a patch, then you should add the change to the previous one, and send a new patch that includes both changes. The new patch should contain [PATCH v2] in the subject line and have a description of the changes since the previous version under the ---. See the Revising your patches section in the tutorial.

The From line does look better now.

julia

Quoted 10 lines

--
2.9.2

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