All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: ks7010: eap_packet: Format comments to fit in line
@ 2017-03-08 22:36 Tamara Diaconita
  2017-03-09  0:58 ` [Outreachy kernel] " Alison Schofield
  0 siblings, 1 reply; 2+ messages in thread
From: Tamara Diaconita @ 2017-03-08 22:36 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Tamara Diaconita

Split lines to have less than 80 characters.

Fix the checkpatch.pl warning:
WARNING: line over 80 characters.

Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>
---
 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 df7f760..7a3decf 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 */
+	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
+					 * 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.9.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Outreachy kernel] [PATCH] staging: ks7010: eap_packet: Format comments to fit in line
  2017-03-08 22:36 [PATCH] staging: ks7010: eap_packet: Format comments to fit in line Tamara Diaconita
@ 2017-03-09  0:58 ` Alison Schofield
  0 siblings, 0 replies; 2+ messages in thread
From: Alison Schofield @ 2017-03-09  0:58 UTC (permalink / raw)
  To: Tamara Diaconita; +Cc: gregkh, outreachy-kernel, Tamara Diaconita

On Thu, Mar 09, 2017 at 12:36:50AM +0200, Tamara Diaconita wrote:
> Split lines to have less than 80 characters.
> 
> Fix the checkpatch.pl warning:
> WARNING: line over 80 characters.
> 
> Signed-off-by: Tamara Diaconita <diaconita.tamara@gmail.com>

Hi Tamara, 
This one will need to be labelled as [PATCH v2].
So - send it again and label it as such. Remember to include what
changed in v2 below the --- line.
Thanks,
alisons






> ---
>  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 df7f760..7a3decf 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 */
> +	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
> +					 * 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.9.3
> 
> -- 
> 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 outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170308223650.3791-1-diaconita.tamara%40gmail.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-09  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-08 22:36 [PATCH] staging: ks7010: eap_packet: Format comments to fit in line Tamara Diaconita
2017-03-09  0:58 ` [Outreachy kernel] " Alison Schofield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.