Skip to contentSkip to conversation

Remove a warning for drivers/staging/wlan-ng/cfg80211.c

PATCH In review Harry Wei 3 participants 4 messages May 2, 2011 – May 3, 2011 Staging

lore
Share & tools
lore

Harry Wei

author
#0 lore raw

PATCH 1/1 Remove a warning for drivers/staging/wlan-ng/cfg80211.c

From: Harry Wei <[email protected]>

When i was compiling kernel, a warning happened to me.
The warning said like following.

drivers/staging/wlan-ng/cfg80211.c:709: warning: initialization from incompatible pointer type.

See http://s1202.photobucket.com/albums/bb364/harrywei/?action=view&current=patched2.png
for more details.

So i patch like following.

---
 drivers/staging/wlan-ng/cfg80211.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/wlan-ng/cfg80211.c +1 -1
index 6a71f52..7637839 100644
@@ -273,7 +273,7 @@ exit:
 }
 
 int prism2_set_default_key(struct wiphy *wiphy, struct net_device *dev,
-			   u8 key_index)
+			   u8 key_index, bool unicast, bool multicast)
 {
 	wlandevice_t *wlandev = dev->ml_priv;
 
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 11 lines · Harry Wei

From: Harry Wei <[email protected]>

When i was compiling kernel, a warning happened to me.
The warning said like following.

drivers/staging/wlan-ng/cfg80211.c:709: warning: initialization from incompatible pointer type.

See http://s1202.photobucket.com/albums/bb364/harrywei/?action=view&current=patched2.png
for more details.

Quoted 6 lines

So i patch like following.

---
 drivers/staging/wlan-ng/cfg80211.c |    2 +-

I'm pretty sure this was included in the set of patches sent to Linux last week, right?

thanks,

greg k-h

#2 lore raw

Harry .
It seems like that you send the patch dup.
I saw the same one from you last week .

Thanks

Quoted 32 lines · Greg KH
Quoted 12 lines · Harry Wei

From: Harry Wei <[email protected]>

When i was compiling kernel, a warning happened to me.
The warning said like following.

drivers/staging/wlan-ng/cfg80211.c:709: warning: initialization from incompatible pointer type.

See
http://s1202.photobucket.com/albums/bb364/harrywei/?action=view&current=patched2.png
for more details.

Quoted 6 lines

So i patch like following.

---
 drivers/staging/wlan-ng/cfg80211.c |    2 +-

I'm pretty sure this was included in the set of patches sent to Linux last week, right?

thanks,

greg k-h
--
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/

author
#3 lore raw
In reply to Greg KH
Quoted 4 lines · Greg KH

On Mon, May 02, 2011 at 10:38:49PM +0800, Harry Wei wrote:

I'm pretty sure this was included in the set of patches sent to Linux last week, right?

Yup, i have sent it a second time.
Becasue there is no response the first time.
But i don't know if i am the one who sent the set of patches you said upon.

Thanks.
Harry Wei.