forked from luck/tmp_suning_uos_patched
staging: wlan-ng: fix long line
Style (line over 80 chars) in drivers/staging/wlan-ng/prism2fw.c Signed-off-by: Douglas Barbonaglia Sathler Figueiredo <eng.douglasfigueiredo@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f51cd2b7d1
commit
cfa6954ced
|
@ -708,7 +708,10 @@ 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 +926,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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user