Re: [PATCH] staging: wlan-ng: fix long line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 19, 2015 at 01:13:42PM -0300, Douglas Barbonaglia Sathler Figueiredo wrote:
> Style (line over 80 chars) in drivers/staging/wlan-ng/prism2fw.c
> 
> Signed-off-by: Douglas Barbonaglia Sathler Figueiredo <eng.douglasfigueiredo@xxxxxxxxx>
> ---
>  drivers/staging/wlan-ng/prism2fw.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
> index 9408644..f4525f8 100644
> --- a/drivers/staging/wlan-ng/prism2fw.c
> +++ b/drivers/staging/wlan-ng/prism2fw.c
> @@ -708,7 +708,10 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks,
>  			continue;
>  		}
>  
> -		/* Validate plug address against chunk data and identify chunk */
> +		/*
> +		 * Validate plug address against
> +		 * chunk data and identify chunk
> +		 */
>  		for (c = 0; c < nfchunks; c++) {
>  			cstart = fchunk[c].addr;
>  			cend = fchunk[c].addr + fchunk[c].len;
> @@ -923,7 +926,8 @@ static int read_fwfile(const struct ihex_binrec *record)
>  				      rcnt,
>  				      s3info[ns3info].len,
>  				      s3info[ns3info].type);
> -			if (((s3info[ns3info].len - 1) * sizeof(u16)) > sizeof(s3info[ns3info].info)) {
> +			if (((s3info[ns3info].len - 1) * sizeof(u16)) >
> +				sizeof(s3info[ns3info].info)) {

Align this under the ( so it doesn't look like it's the logic in the
next block.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux