staging: ks7010:adjust comment begin & end markers
PATCH 1/1 staging: ks7010:adjust comment begin & end markers
Fixing checkpatch warnings for trailing markers on the same line as the comment.
--- drivers/staging/ks7010/eap_packet.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)
drivers/staging/ks7010/eap_packet.h +14 -7
@@ -51,24 +51,31 @@ 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 */ +/* +* does not repeat within the life of the keying material used to +* 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 */ -/* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as -* the key */ +* 7 least significant bits +*/ +/* +* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as +* the key +*/ unsigned char key_signature[IEEE8021X_KEY_SIGN_LEN ]; -/* followed by key: if packet body length = 44 + key length, then the +/* +* followed by key: if packet body length = 44 + key length, then the * key field (of key_length bytes) contains the key in encrypted form; * 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
Quoted 2 lines · Gargi Sharma
Fixing checkpatch warnings for trailing markers on the same line as the comment.
This is going in the right direction, but there are some more needed improvements. First, put a space after each : in the subject line. One is missing after ks7010:. Second, since you have sent several of these patches, there should be eg [PATCH v2] and then a description of what has changed since the previous patch under the ---
julia
Quoted 59 lines
Signed-off-by Gargi Sharma <[email protected]>--- drivers/staging/ks7010/eap_packet.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)drivers/staging/ks7010/eap_packet.h +14
-8@@ -51,24 +51,31 @@ 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 */ +/* +* does not repeat within the life of the keying material used to +* 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 */ -/* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as -* the key */ +* 7 least significant bits +*/ +/* +* HMAC-MD5 message integrity check computed with MS-MPPE-Send-Key as +* the key +*/ unsigned char key_signature[IEEE8021X_KEY_SIGN_LEN ]; -/* followed by key: if packet body length = 44 + key length, then the +/* +* followed by key: if packet body length = 44 + key length, then the * key field (of key_length bytes) contains the key in encrypted form; * 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/20160912183540.12969-1-gs051095%40gmail.com.
For more options, visit https://groups.google.com/d/optout.