linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]Remove a warning
@ 2011-04-26  4:38 Harry Wei
  2011-04-26  7:07 ` Harry Wei
  2011-04-26 16:47 ` Randy Dunlap
  0 siblings, 2 replies; 4+ messages in thread
From: Harry Wei @ 2011-04-26  4:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg, joe, randy.dunlap, akpm

Hi us,
   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

So i patched like this.

From: Harry Wei <harryxiyou@gmail.com>

Signed-off-by: Harry Wei <harryxiyou@gmail.com>
---
 drivers/staging/wlan-ng/cfg80211.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 6a71f52..7637839 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
+++ b/drivers/staging/wlan-ng/cfg80211.c
@@ -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;
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-26 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-26  4:38 [PATCH]Remove a warning Harry Wei
2011-04-26  7:07 ` Harry Wei
2011-04-26 13:08   ` Wanlong Gao
2011-04-26 16:47 ` Randy Dunlap

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).