[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1203969403.13162.147.camel@johannes.berg>
Date: Mon, 25 Feb 2008 20:56:43 +0100
From: Johannes Berg <johannes@...solutions.net>
To: David Miller <davem@...emloft.net>
Cc: kaber@...sh.net, joe@...ches.com, harvey.harrison@...il.com,
netdev@...r.kernel.org
Subject: Re: New sparse warning in net/mac80211/debugfs_sta.c
On Mon, 2008-02-25 at 11:52 -0800, David Miller wrote:
> From: Johannes Berg <johannes@...solutions.net>
> Date: Mon, 25 Feb 2008 10:53:48 +0100
>
> > Maybe we should just add a new printf modifier like %M for MAC
> > addresses? Then we could use sprintf, snprintf, printk and whatever we
> > please without any of the macro stuff...
>
> But GCC has no idea what the heck it is and will warn.
No, I actually wondered about that too and finally just tried, it simply
ignores it when doing the printf warnings.
johannes
Download attachment "signature.asc" of type "application/pgp-signature" (829 bytes)
Powered by blists - more mailing lists