From: Jonathan Corbet <corbet@lwn.net>
To: Frans Klaver <fransklaver@gmail.com>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Richard Cochran <richardcochran@gmail.com>
Subject: Re: [PATCH v2] Doc: networking: txtimestamp: fix printf format warning
Date: Fri, 5 Jun 2015 08:04:18 +0900 [thread overview]
Message-ID: <20150605080418.7a97a64e@lwn.net> (raw)
In-Reply-To: <1433446058-18332-1-git-send-email-fransklaver@gmail.com>
On Thu, 4 Jun 2015 21:27:38 +0200
Frans Klaver <fransklaver@gmail.com> wrote:
> Documentation/networking/timestamping/txtimestamp.c: In function ‘__print_timestamp’:
> Documentation/networking/timestamping/txtimestamp.c:99:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int64_t’ [-Wformat=]
> fprintf(stderr, " (%+ld us)", cur_ms - prev_ms);
>
> int64_t differs per platform, so a type specifier that differs along
> with it is required.
OK, I've applied this to the docs tree.
Thanks,
jon
prev parent reply other threads:[~2015-06-04 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 19:27 Frans Klaver
2015-06-04 23:04 ` Jonathan Corbet [this message]
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=20150605080418.7a97a64e@lwn.net \
--to=corbet@lwn.net \
--cc=fransklaver@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richardcochran@gmail.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
Powered by JetHome