| To: | "Randy.Dunlap" <rddunlap@xxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] pktgen: sprintf arg type warning |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Fri, 8 Oct 2004 22:19:34 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20041008203027.643a2a97.rddunlap@xxxxxxxx> |
| References: | <20041008203027.643a2a97.rddunlap@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Fri, 8 Oct 2004 20:30:27 -0700 "Randy.Dunlap" <rddunlap@xxxxxxxx> wrote: > > Fix sprintf arg type error (gcc 3.3.3), although it looks more like > a gcc problem than a kernel source code problem to me. > Doesn't matter on x86-32. Fixes a warning on x86-64. > > net/core/pktgen.c:607: warning: long long unsigned int format, long unsigned > int arg (arg 4) This won't fix the problem on sparc64 where u64 is an "unsigned long" So, just cast the thing to the type gcc wants "unsigned long long" |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] pktgen: sprintf arg type warning, Randy.Dunlap |
|---|---|
| Next by Date: | Re: TCP crashes when cycling loopback interface., Herbert Xu |
| Previous by Thread: | [PATCH] pktgen: sprintf arg type warning, Randy.Dunlap |
| Next by Thread: | Re: [PATCH] pktgen: sprintf arg type warning, Sam Leffler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |