Skip to contentSkip to conversation

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

PATCH In review Marcos Canán 2 participants 2 messages Sep 15, 2015 – Sep 16, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wlan-ng: prism2fw: coding style: Fixed too long lines.

This is a patch to the prism2fw.c file that fixes
too long lines.

---
 drivers/staging/wlan-ng/prism2fw.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/prism2fw.c +5 -2
index 9408644..42d75e74 100644
@@ -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;
 			}
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 5 lines · Marcos Canán

This is a patch to the prism2fw.c file that fixes
too long lines.

---

This will not apply because of cfa6954ced97 ("staging: wlan-ng: fix long line"). Which tree you have used?

regards
sudip