From: Randy Dunlap <randy.dunlap@oracle.com>
To: Harry Wei <jiaweiwei.xiyou@gmail.com>
Cc: linux-kernel@vger.kernel.org, greg@kroah.com, joe@perches.com,
randy.dunlap@oracle.com, akpm@linux-foundation.org
Subject: Re: [PATCH]Remove a warning
Date: Tue, 26 Apr 2011 09:47:23 -0700 [thread overview]
Message-ID: <20110426094723.a127116e.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20110426043835.GA4154@gmail.com>
On Tue, 26 Apr 2011 12:38:37 +0800 Harry Wei wrote:
> 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>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Thanks.
> ---
> 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;
>
> --
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
prev parent reply other threads:[~2011-04-26 16:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-26 4:38 Harry Wei
2011-04-26 7:07 ` Harry Wei
2011-04-26 13:08 ` Wanlong Gao
2011-04-26 16:47 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110426094723.a127116e.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=greg@kroah.com \
--cc=jiaweiwei.xiyou@gmail.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome