Moved the trailing comment end quote to next line.
PATCH 1/1 Moved the trailing comment end quote to next line.
Checkpatch displays error that the comment endings should be in separate line, should not end in the same line as the comment.
--- drivers/staging/ks7010/eap_packet.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
drivers/staging/ks7010/eap_packet.h +8 -4
@@ -52,15 +52,18 @@ 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 */ +* encrypt the Key field; 64-bit NTP timestamp MAY be used here +*/ unsigned char replay_counter[IEEE8021X_REPLAY_COUNTER_LEN ];unsigned char key_iv[IEEE8021X_KEY_IV_LEN ];/* cryptographically random number */ unsigned char key_index;/* key flag in the most significant bit: * 0 = broadcast (default key), * 1 = unicast (key mapping key); key index is in the -* 7 least significant bits */ +* 7 least significant bits +*/ /* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as -* the key */ +* the key +*/ unsigned char key_signature[IEEE8021X_KEY_SIGN_LEN ];/* followed by key: if packet body length = 44 + key length, then the
@@ -68,7 +71,8 @@ struct ieee802_1x_eapol_key {* if packet body length = 44, key field is absent and key_length * represents the number of least significant octets from * MS-MPPE-Send-Key attribute to be used as the keying material; -* RC4 key used in encryption = Key-IV + MS-MPPE-Recv-Key */ +* RC4 key used in encryption = Key-IV + MS-MPPE-Recv-Key +*/ } __attribute__ ((packed));#define WPA_NONCE_LEN 32
Signature · 1 line
2.9.2
Actually, the From name in your message should be the same as in your Signed off by line, which should be your real name.
Quoted 13 lines · On Mon, 12 Sep 2016, gs0510 wrote:
Checkpatch displays error that the comment endings should be in separate line, should not end in the same line as the comment.
Signed-off-by Gargi Sharma <[email protected]>--- drivers/staging/ks7010/eap_packet.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)drivers/staging/ks7010/eap_packet.h +0
-0
drivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key { · line 56
Quoted 6 lines
drivers/staging/ks7010/eap_packet.h +2
-1@@ -52,15 +52,18 @@ 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 */ +* encrypt the Key field; 64-bit NTP timestamp MAY be used here +*/
It doesn't look like this line is lines up properly with the others. Also, the first /* should be on a separate line too.
julia
Quoted 35 lines
drivers/staging/ks7010/eap_packet.h +6
-4unsigned char replay_counter[IEEE8021X_REPLAY_COUNTER_LEN ];unsigned char key_iv[IEEE8021X_KEY_IV_LEN ];/* cryptographically random number */ unsigned char key_index;/* key flag in the most significant bit: * 0 = broadcast (default key), * 1 = unicast (key mapping key); key index is in the -* 7 least significant bits */ +* 7 least significant bits +*/ /* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as -* the key */ +* the key +*/ unsigned char key_signature[IEEE8021X_KEY_SIGN_LEN ];/* followed by key: if packet body length = 44 + key length, then the @@ -68,7 +71,8 @@ struct ieee802_1x_eapol_key {* if packet body length = 44, key field is absent and key_length * represents the number of least significant octets from * MS-MPPE-Send-Key attribute to be used as the keying material; -* RC4 key used in encryption = Key-IV + MS-MPPE-Recv-Key */ +* RC4 key used in encryption = Key-IV + MS-MPPE-Recv-Key +*/ } __attribute__ ((packed));#define WPA_NONCE_LEN 32 --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/20160912164440.9174-1-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Noted the mistakes. Sending a new patch fixing them.
Thanks!
Gargi
Quoted 75 lines · Julia Lawall
Actually, the From name in your message should be the same as in your Signed off by line, which should be your real name.
Review
Quoted 9 lines · On Mon, 12 Sep 2016, gs0510 wrote:
Checkpatch displays error that the comment endings should be in separate line, should not end in the same line as the comment.
Signed-off-by Gargi Sharma <[email protected]>--- drivers/staging/ks7010/eap_packet.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)(quoted diff) +0
-0
b/drivers/staging/ks7010/eap_packet.hdrivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key { · line 56
Quoted 10 lines
index 16a392a..0a9ab097 100644
drivers/staging/ks7010/eap_packet.h +2
-1@@ -52,15 +52,18 @@ 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 */ +* encrypt the Key field; 64-bit NTP timestamp MAY be used here +*/ It doesn't look like this line is lines up properly with the others. Also, the first /* should be on a separate line too.
julia
drivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key { · line 58
Quoted 2 lines
drivers/staging/ks7010/eap_packet.h +0
-0unsigned char replay_counter[IEEE8021X_REPLAY_COUNTER_LEN ];unsigned char key_iv[IEEE8021X_KEY_IV_LEN ];/* cryptographically random number */
drivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key { · line 59
Quoted 1 line
drivers/staging/ks7010/eap_packet.h +0
-0unsigned char key_index;/* key flag in the most significant bit:
drivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key { · line 61
Quoted 2 lines
drivers/staging/ks7010/eap_packet.h +0
-0* 0 = broadcast (default key), * 1 = unicast (key mapping key); key index is in the
drivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key {
Quoted 4 lines
drivers/staging/ks7010/eap_packet.h +2
-1-* 7 least significant bits */ +* 7 least significant bits +*/ /* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as
drivers/staging/ks7010/eap_packet.h struct ieee802_1x_eapol_key {
Quoted 6 lines
drivers/staging/ks7010/eap_packet.h +2
-1-* the key */ +* the key +*/ unsigned char key_signature[IEEE8021X_KEY_SIGN_LEN ];/* followed by key: if packet body length = 44 + key length, then the
Quoted 13 lines
drivers/staging/ks7010/eap_packet.h +2
-2@@ -68,7 +71,8 @@ struct ieee802_1x_eapol_key {* if packet body length = 44, key field is absent and key_length * represents the number of least significant octets from * MS-MPPE-Send-Key attribute to be used as the keying material; -* RC4 key used in encryption = Key-IV + MS-MPPE-Recv-Key */ +* RC4 key used in encryption = Key-IV + MS-MPPE-Recv-Key +*/ } __attribute__ ((packed));#define WPA_NONCE_LEN 32 --2.9.2
Quoted 2 lines
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
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/20160912164440.9174-1-gs051095%40gmail.com.
Quoted 2 lines
For more options, visit https://groups.google.com/d/optout.
Greg KH
maintainerQuoted 7 lines · On Mon, Sep 12, 2016 at 10:14:40PM +0530, gs0510 wrote:
Checkpatch displays error that the comment endings should be in separate line, should not end in the same line as the comment.
Signed-off-by Gargi Sharma <[email protected]>--- drivers/staging/ks7010/eap_packet.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
Your From: line should match your signed-off-by: line please.
Also, look at the subject, it doesn't say what part of the kernel is being modified. Please fix that up as well when you resend this.
thanks,
greg k-h