* [PATCH] Drivers:staging:wlan-ng: Fixed checkpatch warning
@ 2014-11-25 11:46 Athira Lekshmi C V
2014-11-26 22:02 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Athira Lekshmi C V @ 2014-11-25 11:46 UTC (permalink / raw)
To: gregkh
Cc: matt, raghav3276, josh, tapaswenipathak, vitaly.osipov, devel,
linux-kernel, Athira Lekshmi C V
The following checkpatch warning was fixed
WARNING: line over 80 characters
Signed-off-by: Athira Lekshmi C V <andnlnbn18@gmail.com>
---
drivers/staging/wlan-ng/prism2fw.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c
index e907380..8e1da3c 100644
--- a/drivers/staging/wlan-ng/prism2fw.c
+++ b/drivers/staging/wlan-ng/prism2fw.c
@@ -238,7 +238,8 @@ static int prism2_fwtry(struct usb_device *udev, wlandevice_t *wlandev)
* 0 - success
* ~0 - failure
----------------------------------------------------------------*/
-static int prism2_fwapply(const struct ihex_binrec *rfptr, wlandevice_t *wlandev)
+static int prism2_fwapply(const struct ihex_binrec *rfptr,
+ wlandevice_t *wlandev)
{
signed int result = 0;
struct p80211msg_dot11req_mibget getmsg;
@@ -707,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;
@@ -922,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.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Drivers:staging:wlan-ng: Fixed checkpatch warning
2014-11-25 11:46 [PATCH] Drivers:staging:wlan-ng: Fixed checkpatch warning Athira Lekshmi C V
@ 2014-11-26 22:02 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-11-26 22:02 UTC (permalink / raw)
To: Athira Lekshmi C V
Cc: devel, matt, tapaswenipathak, josh, linux-kernel, raghav3276
On Tue, Nov 25, 2014 at 05:16:40PM +0530, Athira Lekshmi C V wrote:
> The following checkpatch warning was fixed
> WARNING: line over 80 characters
>
> Signed-off-by: Athira Lekshmi C V <andnlnbn18@gmail.com>
> ---
> drivers/staging/wlan-ng/prism2fw.c | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
Doesn't apply to my tree :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-26 22:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 11:46 [PATCH] Drivers:staging:wlan-ng: Fixed checkpatch warning Athira Lekshmi C V
2014-11-26 22:02 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).