Skip to contentSkip to conversation

Staging: wlan-ng: fix coding style issues in prism2mib.c

PATCH In review Johan Meiring 2 participants 2 messages Nov 6, 2010 – Nov 10, 2010 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 Staging: wlan-ng: fix coding style issues in prism2mib.c

This is a patch to the prism2mib.c file that fixes various coding style issues that were found by the checkpatch.pl tool

---
 drivers/staging/wlan-ng/prism2mib.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/prism2mib.c +4 -2
index d3a06fa..c1276fd 100644
@@ -136,7 +136,8 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
 					    int isget,
 					    wlandevice_t *wlandev,
 					    hfa384x_t *hw,
-					    struct p80211msg_dot11req_mibset *msg,
+					    struct p80211msg_dot11req_mibset
+						*msg,
 					    void *data);
 
 static int prism2mib_priv(struct mibrec *mib,
@@ -664,7 +665,8 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
 					    int isget,
 					    wlandevice_t *wlandev,
 					    hfa384x_t *hw,
-					    struct p80211msg_dot11req_mibset *msg,
+					    struct p80211msg_dot11req_mibset
+						*msg,
 					    void *data)
 {
 	int result;
Signature · 1 line
1.7.1
#1 lore raw
Quoted 13 lines · Johan Meiring

This is a patch to the prism2mib.c file that fixes various coding style issues that were found by the checkpatch.pl tool

---
 drivers/staging/wlan-ng/prism2mib.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/prism2mib.c +0 -0
index d3a06fa..c1276fd 100644

drivers/staging/wlan-ng/prism2mib.c static int prism2mib_fragmentationthreshold(struct mibrec *mib, · line 140

Quoted 6 lines
drivers/staging/wlan-ng/prism2mib.c +2 -1
@@ -136,7 +136,8 @@ static int prism2mib_fragmentationthreshold(struct mibrec *mib,
 					    int isget,
 					    wlandevice_t *wlandev,
 					    hfa384x_t *hw,
-					    struct p80211msg_dot11req_mibset *msg,
+					    struct p80211msg_dot11req_mibset
+						*msg,

That's really not much better, so let's just leave the original code.

thanks,

greg k-h