Skip to contentSkip to conversation

Drivers:staging:wlan-ng: Fixed line over 80 characters warning

PATCH In review Lekshmi 3 participants 3 messages Nov 23, 2014 Staging

lore
Share & tools
lore

Lekshmi

author
#0 lore raw

PATCH 1/1 Drivers:staging:wlan-ng: Fixed line over 80 characters warning

The following chaeckpatch warning was fixed:
WARNING: line over 80 characters

---
 drivers/staging/wlan-ng/prism2fw.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/prism2fw.c +4 -2
index e907380..5c3fd2d 100644
@@ -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,8 @@ 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;
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 23 lines · Lekshmi

The following chaeckpatch warning was fixed:
WARNING: line over 80 characters

---
 drivers/staging/wlan-ng/prism2fw.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/prism2fw.c +2 -1
index e907380..5c3fd2d 100644
@@ -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;

drivers/staging/wlan-ng/prism2fw.c static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks, · line 712

Quoted 6 lines
drivers/staging/wlan-ng/prism2fw.c +2 -1
@@ -707,7 +708,8 @@ 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 */

this is not the style for multiline comment. please check the CodingStyle in Documentation.

thanks
sudip

Quoted 11 lines
drivers/staging/wlan-ng/prism2fw.c +0 -0
 		for (c = 0; c < nfchunks; c++) {
 			cstart = fchunk[c].addr;
 			cend = fchunk[c].addr + fchunk[c].len;
Signature · 7 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/