| To: | Sam Leffler <sam@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] pktgen: sprintf arg type warning |
| From: | Andi Kleen <ak@xxxxxxx> |
| Date: | Sat, 9 Oct 2004 19:36:44 +0200 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, "Randy.Dunlap" <rddunlap@xxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <41682021.3080400@xxxxxxxxx> |
| References: | <20041008203027.643a2a97.rddunlap@xxxxxxxx> <20041008221934.42a6bc7a.davem@xxxxxxxxxxxxx> <41682021.3080400@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
> Other systems have addressed this problem by extending printf with > portable %formats. Problem is that gcc -Wformat doesn't know the new format codes, and in Linux we still have to support old gcc versions. Standard trick is to cast to long. -Andi |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] pktgen: sprintf arg type warning, Sam Leffler |
|---|---|
| Next by Date: | Re: e1000 kick, Scott Feldman |
| Previous by Thread: | Re: [PATCH] pktgen: sprintf arg type warning, Sam Leffler |
| Next by Thread: | Re: [PATCH] pktgen: sprintf arg type warning, Sam Leffler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |