public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c
@ 2011-04-28  1:30 Harry Wei
  0 siblings, 0 replies; 5+ messages in thread
From: Harry Wei @ 2011-04-28  1:30 UTC (permalink / raw)
  To: greg; +Cc: randy.dunlap, linux-kernel, joe, 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.

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

So i patch like following.

Signed-off-by: Harry Wei <harryxiyou@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.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] 5+ messages in thread

* [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c
@ 2011-05-02 14:38 Harry Wei
  2011-05-02 15:23 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Wei @ 2011-05-02 14:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: greg, randy.dunlap, joe, akpm

From: Harry Wei <harryxiyou@gmail.com>
  
	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.

Signed-off-by: Harry Wei <harryxiyou@gmail.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.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] 5+ messages in thread

* Re: [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c
  2011-05-02 14:38 Harry Wei
@ 2011-05-02 15:23 ` Greg KH
  2011-05-02 15:28   ` Wanlong Gao
  2011-05-03  0:54   ` Harry Wei
  0 siblings, 2 replies; 5+ messages in thread
From: Greg KH @ 2011-05-02 15:23 UTC (permalink / raw)
  To: linux-kernel, randy.dunlap, joe, akpm

On Mon, May 02, 2011 at 10:38:49PM +0800, Harry Wei wrote:
> From: Harry Wei <harryxiyou@gmail.com>
>   
> 	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.
> 
> Signed-off-by: Harry Wei <harryxiyou@gmail.com>
> Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  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

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

* Re: [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c
  2011-05-02 15:23 ` Greg KH
@ 2011-05-02 15:28   ` Wanlong Gao
  2011-05-03  0:54   ` Harry Wei
  1 sibling, 0 replies; 5+ messages in thread
From: Wanlong Gao @ 2011-05-02 15:28 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, randy.dunlap, joe, akpm

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

Thanks

On 5/2/11, Greg KH <greg@kroah.com> wrote:
> On Mon, May 02, 2011 at 10:38:49PM +0800, Harry Wei wrote:
>> From: Harry Wei <harryxiyou@gmail.com>
>>
>> 	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.
>>
>> Signed-off-by: Harry Wei <harryxiyou@gmail.com>
>> Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
>> ---
>>  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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

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

* Re: [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c
  2011-05-02 15:23 ` Greg KH
  2011-05-02 15:28   ` Wanlong Gao
@ 2011-05-03  0:54   ` Harry Wei
  1 sibling, 0 replies; 5+ messages in thread
From: Harry Wei @ 2011-05-03  0:54 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel, randy.dunlap, akpm, joe, wanlong.gao

On Mon, May 02, 2011 at 08:23:37AM -0700, Greg KH wrote:
> 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.

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

end of thread, other threads:[~2011-05-03  0:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-28  1:30 [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c Harry Wei
  -- strict thread matches above, loose matches on Subject: below --
2011-05-02 14:38 Harry Wei
2011-05-02 15:23 ` Greg KH
2011-05-02 15:28   ` Wanlong Gao
2011-05-03  0:54   ` Harry Wei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox