Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1225577 > unrolled thread

[PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines.

Started byMarcos Canán <mcanan@gmail.com>
First post2015-09-16 01:10 +0200
Last post2015-09-16 07:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines. Marcos Canán <mcanan@gmail.com> - 2015-09-16 01:10 +0200
    Re: [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long  lines. Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-16 07:10 +0200

#1225577 — [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines.

FromMarcos Canán <mcanan@gmail.com>
Date2015-09-16 01:10 +0200
Subject[PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines.
Message-ID<q97wl-3i4-15@gated-at.bofh.it>
This is a patch to the prism2fw.c file that fixes
too long lines.

Signed-off-by: Marcos Canán <mcanan@gmail.com>
---
 drivers/staging/wlan-ng/prism2fw.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
index 9408644..42d75e74 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -708,7 +708,9 @@ 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 +925,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)) {
 				pr_err("S3 inforec length too long - aborting\n");
 				return 1;
 			}
-- 
1.7.10.4

--
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/

[toc] | [next] | [standalone]


#1225717 — Re: [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines.

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2015-09-16 07:10 +0200
SubjectRe: [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines.
Message-ID<q9d8J-31U-1@gated-at.bofh.it>
In reply to#1225577
On Tue, Sep 15, 2015 at 08:09:54PM -0300, Marcos Canán wrote:
> This is a patch to the prism2fw.c file that fixes
> too long lines.
> 
> Signed-off-by: Marcos Canán <mcanan@gmail.com>
> ---
This will not apply because of cfa6954ced97 ("staging: wlan-ng: fix long line").
Which tree you have used?

regards
sudip
--
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web