Commit cfa6954c authored by Douglas Barbonaglia Sathler Figueiredo's avatar Douglas Barbonaglia Sathler Figueiredo Committed by Greg Kroah-Hartman

staging: wlan-ng: fix long line

Style (line over 80 chars) in drivers/staging/wlan-ng/prism2fw.c
Signed-off-by: default avatarDouglas Barbonaglia Sathler Figueiredo <eng.douglasfigueiredo@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f51cd2b7
...@@ -708,7 +708,10 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks, ...@@ -708,7 +708,10 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks,
continue; 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++) { for (c = 0; c < nfchunks; c++) {
cstart = fchunk[c].addr; cstart = fchunk[c].addr;
cend = fchunk[c].addr + fchunk[c].len; cend = fchunk[c].addr + fchunk[c].len;
...@@ -923,7 +926,8 @@ static int read_fwfile(const struct ihex_binrec *record) ...@@ -923,7 +926,8 @@ static int read_fwfile(const struct ihex_binrec *record)
rcnt, rcnt,
s3info[ns3info].len, s3info[ns3info].len,
s3info[ns3info].type); 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"); pr_err("S3 inforec length too long - aborting\n");
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment