[OPW,kernel] Staging: wlan-ng: fix sparse warnings for static functions
diff mbox

Message ID 1381202322-9667-1-git-send-email-teobaluta@gmail.com
State Changes Requested
Headers show

Commit Message

Teodora Baluta Oct. 8, 2013, 3:18 a.m. UTC
Fix sparse warnings for static functions
* drivers/staging/wlan-ng/cfg80211.c:101:5: warning:
symbol 'prism2_change_virtual_intf' was not declared.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
---
 drivers/staging/wlan-ng/cfg80211.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Zach Brown Oct. 8, 2013, 5:34 p.m. UTC | #1
On Mon, Oct 07, 2013 at 11:18:42PM -0400, Teodora Baluta wrote:
> Fix sparse warnings for static functions
> * drivers/staging/wlan-ng/cfg80211.c:101:5: warning:
> symbol 'prism2_change_virtual_intf' was not declared.

Does this message not match the commit?

> -			              struct vif_params *params)
> +				      struct vif_params *params)

This is changing whitespace?  (spaces to tab)

- z
Teodora Baluta Oct. 8, 2013, 8:12 p.m. UTC | #2
On Tuesday, October 8, 2013 8:34:01 PM UTC+3, Zach Brown wrote:
>
> On Mon, Oct 07, 2013 at 11:18:42PM -0400, Teodora Baluta wrote: 
> > Fix sparse warnings for static functions 
> > * drivers/staging/wlan-ng/cfg80211.c:101:5: warning: 
> > symbol 'prism2_change_virtual_intf' was not declared. 
>
> Does this message not match the commit? 
>
> > -                                      struct vif_params *params) 
> > +                                      struct vif_params *params) 
>
> This is changing whitespace?  (spaces to tab) 
>

Hi,

Sorry, I sent the wrong file. I will send the correct patch asap.

Thanks,
Teo

Patch
diff mbox

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 548fafc..a23074a 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -101,7 +101,7 @@  static int prism2_domibset_pstr32(wlandevice_t *wlandev,
 static int prism2_change_virtual_intf(struct wiphy *wiphy,
 				      struct net_device *dev,
 				      enum nl80211_iftype type, u32 *flags,
-			              struct vif_params *params)
+				      struct vif_params *params)
 {
 	wlandevice_t *wlandev = dev->ml_priv;
 	u32 data;