[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.20.1608251519080.5714@nanos>
Date: Thu, 25 Aug 2016 15:20:59 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Nicolai Stange <nicstange@...il.com>
cc: John Stultz <john.stultz@...aro.org>, linux-kernel@...r.kernel.org
Subject: Re: [RFC v4 14/22] clockevents: clockevents_program_event(): turn
clc into unsigned long
On Tue, 23 Aug 2016, Nicolai Stange wrote:
> Right now, being of type unsigned long long, the clc local variable in
> clockevents_program_event() is unnecessarily wide as it gets cast to
> unsigned long anyway.
Congrats! You just broke 32bit systems. When delta is sufficiently large then
the mult overflows....
Thanks,
tglx
Powered by blists - more mailing lists