lkml.org 
[lkml]   [2014]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Drivers:staging:wlan-ng: Fixed line over 80 characters warning
On Sun, Nov 23, 2014 at 03:26:54PM +0530, Lekshmi wrote:
> The following chaeckpatch warning was fixed:
> WARNING: line over 80 characters
>
> Signed-off-by: Lekshmi <andnlnbn18@gmail.com>
> ---
> drivers/staging/wlan-ng/prism2fw.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
> index e907380..5c3fd2d 100644
> --- a/drivers/staging/wlan-ng/prism2fw.c
> +++ b/drivers/staging/wlan-ng/prism2fw.c
> @@ -238,7 +238,8 @@ static int prism2_fwtry(struct usb_device *udev, wlandevice_t *wlandev)
> * 0 - success
> * ~0 - failure
> ----------------------------------------------------------------*/
> -static int prism2_fwapply(const struct ihex_binrec *rfptr, wlandevice_t *wlandev)
> +static int prism2_fwapply(const struct ihex_binrec *rfptr,
> + wlandevice_t *wlandev)
> {
> signed int result = 0;
> struct p80211msg_dot11req_mibget getmsg;
> @@ -707,7 +708,8 @@ 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 */
this is not the style for multiline comment. please check the CodingStyle in Documentation.

thanks
sudip

> for (c = 0; c < nfchunks; c++) {
> cstart = fchunk[c].addr;
> cend = fchunk[c].addr + fchunk[c].len;
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/


\
 
 \ /
  Last update: 2014-11-23 19:01    [W:0.063 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site