netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Sam Leffler <sam@errno.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	"Randy.Dunlap" <rddunlap@osdl.org>,
	netdev@oss.sgi.com
Subject: Re: [PATCH] pktgen: sprintf arg type warning
Date: Sat, 9 Oct 2004 19:36:44 +0200	[thread overview]
Message-ID: <20041009173644.GC30713@wotan.suse.de> (raw)
In-Reply-To: <41682021.3080400@errno.com>

> 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

  reply	other threads:[~2004-10-09 17:36 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
2004-10-09 17:30   ` Sam Leffler
2004-10-09 17:36     ` Andi Kleen [this message]
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=20041009173644.GC30713@wotan.suse.de \
    --to=ak@suse.de \
    --cc=davem@davemloft.net \
    --cc=netdev@oss.sgi.com \
    --cc=rddunlap@osdl.org \
    --cc=sam@errno.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 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).