qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Christoffer Dall <christoffer.dall@linaro.org>
Cc: "marc.zyngier@arm.com" <marc.zyngier@arm.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Anthony Liguori <aliguori@amazon.com>,
	Patch Tracking <patches@linaro.org>
Subject: Re: [Qemu-devel] [PATCH for-2.2] qemu-timer: Avoid overflows when converting timeout to struct timespec
Date: Tue, 25 Nov 2014 23:22:01 +0000	[thread overview]
Message-ID: <CAFEAcA-RWYmNC4vyCWzWsL4-Z4e22G2pSY-atPe9u50XYwj02A@mail.gmail.com> (raw)
In-Reply-To: <20141125202949.GA27070@cbox>

On 25 November 2014 at 20:29, Christoffer Dall
<christoffer.dall@linaro.org> wrote:
> I'm wondering if the timespec struct field is an unsigned long and
> that's why we werent' seeing the overflow on arm64?

It's a time_t, and they're signed, but I imagine on arm64
time_t is 64 bits.

-- PMM

  reply	other threads:[~2014-11-25 23:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 18:21 [Qemu-devel] [PATCH for-2.2] qemu-timer: Avoid overflows when converting timeout to struct timespec Peter Maydell
2014-11-25 19:55 ` Paolo Bonzini
2014-11-25 20:29 ` Christoffer Dall
2014-11-25 23:22   ` Peter Maydell [this message]
2014-11-26  3:09 ` Fam Zheng
2014-11-27 11:33   ` Peter Maydell

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=CAFEAcA-RWYmNC4vyCWzWsL4-Z4e22G2pSY-atPe9u50XYwj02A@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=aliguori@amazon.com \
    --cc=christoffer.dall@linaro.org \
    --cc=marc.zyngier@arm.com \
    --cc=patches@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.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).