[PATCH] Warnings : Fixed 80 character length warning in rtw_ap.c

Sreenath Madasu sreenath.madasu at gmail.com
Wed Jul 8 01:08:10 UTC 2015


The kernelnewbies.org guide said "For your first patch, only pick one
warning". That is the reason why I fixed one warning.

Thanks
Sreenath
On Tue, Jul 07, 2015 at 03:32:50PM -0400, Valdis.Kletnieks at vt.edu wrote:
> On Mon, 06 Jul 2015 21:53:26 -0400, Sreenath Madasu said:
> > When the checkpatch.pl script was run, it showed lines with length
> > more than 80 characters in rtw_ap.c file. Fixed line number 382 by
> > breaking it up into two lines within 80 characters.
> 
> 
> > -				stainfo_offset = rtw_stainfo_offset(pstapriv, psta);
> > +				stainfo_offset =
> > +					rtw_stainfo_offset(pstapriv, psta);
> >  				if (stainfo_offset_valid(stainfo_offset))
> >  					chk_alive_list[chk_alive_num++] = stainfo_offset;
> 
> Umm... Sreenath?
> 
> There's 97 more occurrences of the same problem in that file.
> 
> All:  Is it time to kill that checkpatch test, or hide it behind a non-default
> flag, to prevent code churn?
> 




More information about the devel mailing list