From: Harry Wei <jiaweiwei.xiyou@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: greg@kroah.com, akpm@linux-foundation.org, joe@perches.com,
randy.dunlap@oracle.com
Subject: Re: [PATCH]Remove a warning
Date: Tue, 26 Apr 2011 15:07:56 +0800 [thread overview]
Message-ID: <20110426070754.GB4154@gmail.com> (raw)
In-Reply-To: <20110426043835.GA4154@gmail.com>
On Tue, Apr 26, 2011 at 12:38:37PM +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
See http://s1202.photobucket.com/albums/bb364/harrywei/?action=view¤t=patched2.png
for more details.
>
> 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
>
>
>
next prev parent reply other threads:[~2011-04-26 7:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-26 4:38 [PATCH]Remove a warning Harry Wei
2011-04-26 7:07 ` Harry Wei [this message]
2011-04-26 13:08 ` Wanlong Gao
2011-04-26 16:47 ` Randy Dunlap
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=20110426070754.GB4154@gmail.com \
--to=jiaweiwei.xiyou@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=greg@kroah.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/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;
as well as URLs for NNTP newsgroup(s).