2011-05-02 14:39:10

by jiaweiwei

[permalink] [raw]
Subject: [PATCH]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.

Signed-off-by: Harry Wei <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
---
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


2011-05-02 15:23:50

by Greg KH

[permalink] [raw]
Subject: Re: [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c

On Mon, May 02, 2011 at 10:38:49PM +0800, Harry Wei wrote:
> 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.
>
> Signed-off-by: Harry Wei <[email protected]>
> Acked-by: Randy Dunlap <[email protected]>
> ---
> 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

2011-05-02 15:28:31

by Wanlong Gao

[permalink] [raw]
Subject: Re: [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c

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 <[email protected]> wrote:
> On Mon, May 02, 2011 at 10:38:49PM +0800, Harry Wei wrote:
>> 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.
>>
>> Signed-off-by: Harry Wei <[email protected]>
>> Acked-by: Randy Dunlap <[email protected]>
>> ---
>> 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/
>

2011-05-03 00:55:15

by jiaweiwei

[permalink] [raw]
Subject: Re: [PATCH]Remove a warning for drivers/staging/wlan-ng/cfg80211.c

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.