From: "David S. Miller" <davem@davemloft.net>
To: "Randy.Dunlap" <rddunlap@osdl.org>
Cc: netdev@oss.sgi.com
Subject: Re: [PATCH] pktgen: sprintf arg type warning
Date: Fri, 8 Oct 2004 22:19:34 -0700 [thread overview]
Message-ID: <20041008221934.42a6bc7a.davem@davemloft.net> (raw)
In-Reply-To: <20041008203027.643a2a97.rddunlap@osdl.org>
On Fri, 8 Oct 2004 20:30:27 -0700
"Randy.Dunlap" <rddunlap@osdl.org> 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"
next prev parent reply other threads:[~2004-10-09 5:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-09 3:30 [PATCH] pktgen: sprintf arg type warning Randy.Dunlap
2004-10-09 5:19 ` David S. Miller [this message]
2004-10-09 17:30 ` Sam Leffler
2004-10-09 17:36 ` Andi Kleen
2004-10-09 17:49 ` Sam Leffler
2004-10-09 22:07 ` 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=20041008221934.42a6bc7a.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@oss.sgi.com \
--cc=rddunlap@osdl.org \
/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).