Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756504AbcJMTKz (ORCPT ); Thu, 13 Oct 2016 15:10:55 -0400 Received: from smtprelay0108.hostedemail.com ([216.40.44.108]:33141 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756311AbcJMTKm (ORCPT ); Thu, 13 Oct 2016 15:10:42 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3870:3871:4250:4321:5007:6119:7514:10004:10400:10848:11026:11232:11473:11658:11914:12043:12438:12555:12702:12737:12740:12760:13069:13138:13231:13255:13311:13357:13439:14181:14659:14721:21080:21451:30034:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:5,LUA_SUMMARY:none X-HE-Tag: plate94_709e2a0a59036 X-Filterd-Recvd-Size: 2175 Message-ID: <1476385772.2164.19.camel@perches.com> Subject: Re: [PATCH] Staging:ks7010:eap_packet: fixed 80 character line limit coding style issue From: Joe Perches To: Nadim Almas , gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Date: Thu, 13 Oct 2016 12:09:32 -0700 In-Reply-To: <20161013160557.GA4407@gmail.com> References: <20161013160557.GA4407@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.0-2ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1364 Lines: 36 On Thu, 2016-10-13 at 09:05 -0700, Nadim Almas wrote: > Fixed coding style issue > > Signed-off-by: Nadim Almas > --- > drivers/staging/ks7010/eap_packet.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/ks7010/eap_packet.h b/drivers/staging/ks7010/eap_packet.h > index df7f760..90432ff 100644 > --- a/drivers/staging/ks7010/eap_packet.h > +++ b/drivers/staging/ks7010/eap_packet.h > @@ -58,11 +58,13 @@ 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 > + * 1 = unicast (key mapping key); key > + * index is in the > * 7 least significant bits > Might be better as unsigned char key_index; /* Key flag: * Most significant bit: * 0: broadcast (default key) * 1: unicast (key mapping key) * key index is the value of * the 7 least significant bits */