From: David Miller <davem@davemloft.net>
To: sj38.park@gmail.com
Cc: Ian.Campbell@citrix.com, trivial@kernel.org, wei.liu2@citrix.com,
xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org
Subject: Re: [PATCH] ixen-netback: fix trivial printf format build warning
Date: Wed, 26 Mar 2014 14:46:13 -0400 (EDT) [thread overview]
Message-ID: <20140326.144613.1346051389108269225.davem@davemloft.net> (raw)
In-Reply-To: <CAEjAshoYWeCdVD9mC4f6EQkQkd-dVuk47gGEZ-4ig-uVS938ag@mail.gmail.com>
From: SeongJae Park <sj38.park@gmail.com>
Date: Wed, 26 Mar 2014 19:34:21 +0900
> Thank you for let me know kindly :)
Also your fix wasn't correct.
You changed the code to use %lx but the type isn't a long.
It's the difference between two pointers, which is ptrdiff_t. The
proper printf format string for a hexadecimal ptrdiff_t is %tx
next prev parent reply other threads:[~2014-03-26 18:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-26 3:56 SeongJae Park
2014-03-26 10:09 ` Ian Campbell
2014-03-26 10:34 ` SeongJae Park
2014-03-26 18:46 ` David Miller [this message]
2014-03-26 18:51 ` SeongJae Park
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=20140326.144613.1346051389108269225.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=Ian.Campbell@citrix.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sj38.park@gmail.com \
--cc=trivial@kernel.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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
all inboxes | Powered by JetHome®