Re: [RFC v4 14/22] clockevents: clockevents_program_event(): turn clc into unsigned long

From: Thomas Gleixner
Date: Thu Aug 25 2016 - 09:23:20 EST


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