* [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines.
@ 2015-09-15 23:09 Marcos Canán
2015-09-16 5:04 ` Sudip Mukherjee
0 siblings, 1 reply; 2+ messages in thread
From: Marcos Canán @ 2015-09-15 23:09 UTC (permalink / raw)
To: gregkh
Cc: tapaswenipathak, josh, aedesymen, devel, linux-kernel,
Marcos Canán
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-16 5:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 23:09 [PATCH] staging: wlan-ng: prism2fw: coding style: Fixed too long lines Marcos Canán
2015-09-16 5:04 ` Sudip Mukherjee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox