Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1535620

[PATCH 2/2] Staging: ks7010: eap_packet.h: fixed coding style issue

From Manoj Sawai <mas@iitkgp.ac.in>
Newsgroups linux.kernel
Subject [PATCH 2/2] Staging: ks7010: eap_packet.h: fixed coding style issue
Date 2016-12-04 10:30 +0100
Message-ID <sKBhn-5k7-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Rearranged comments so that lines are less than 80 characters long

Signed-off-by: Manoj Sawai <mas@iitkgp.ac.in>
---
 drivers/staging/ks7010/eap_packet.h | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h
index df7f760e4110..45d30b8ed0b1 100644
--- a/drivers/staging/ks7010/eap_packet.h
+++ b/drivers/staging/ks7010/eap_packet.h
@@ -58,12 +58,15 @@ struct ieee802_1x_eapol_key {
 	 * 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 */
+
+	/* cryptographically random number */
+	unsigned char key_iv[IEEE8021X_KEY_IV_LEN];
 	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
+					 * 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
-- 
2.11.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] Staging: ks7010: eap_packet.h: fixed coding style issue Manoj Sawai <mas@iitkgp.ac.in> - 2016-12-04 10:30 +0100
  Re: [PATCH 2/2] Staging: ks7010: eap_packet.h: fixed coding style  issue Greg KH <gregkh@linuxfoundation.org> - 2016-12-06 10:20 +0100

csiph-web