From: "John W. Linville" <linville@tuxdriver.com>
To: "Miguel Botón" <mboton.lkml@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mac80211: fix "format '%d' expects type 'int', but argument 7 has type 'long unsigned int'" warning
Date: Wed, 24 Oct 2007 11:25:23 -0400 [thread overview]
Message-ID: <20071024152516.GA6793@tuxdriver.com> (raw)
In-Reply-To: <200710241637.08224.mboton.lkml@gmail.com>
Third submission of a patch like this since day before yesterday...I promise, I have it.
Please send wireless patches to linux-wireless@vger.kernel.org, and CC me.
BTW, this patch appears to be linewrap-damaged...
Thanks,
John
On Wed, Oct 24, 2007 at 04:37:08PM +0200, Miguel Botón wrote:
> printf() expects an "integer" value but we give it a "long unsigned integer".
>
> diff -ruN linux-2.6.24-rc1.orig/net/mac80211/ieee80211_sta.c
> linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c
> --- linux-2.6.24-rc1.orig/net/mac80211/ieee80211_sta.c 2007-10-24
> 16:06:49.000000000 +0200
> +++ linux-2.6.24-rc1/net/mac80211/ieee80211_sta.c 2007-10-24
> 16:12:05.000000000 +0200
> @@ -1182,7 +1182,7 @@
> aid = le16_to_cpu(mgmt->u.assoc_resp.aid);
>
> printk(KERN_DEBUG "%s: RX %sssocResp from %s (capab=0x%x "
> - "status=%d aid=%d)\n",
> + "status=%d aid=%ld)\n",
> dev->name, reassoc ? "Rea" : "A", print_mac(mac, mgmt->sa),
> capab_info, status_code, aid & ~(BIT(15) | BIT(14)));
>
>
> --
> Miguel Botón
--
John W. Linville
linville@redhat.com
prev parent reply other threads:[~2007-10-24 15:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 14:37 [PATCH] mac80211: fix "format '%d' expects type 'int', but argument 7 has type 'long unsigned int'" warning Miguel Botón
2007-10-24 15:25 ` John W. Linville [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=20071024152516.GA6793@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mboton.lkml@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.