Re: kernel: clockevents: shift out-of-bounds

2014-10-24 Thread Peter Zijlstra
On Mon, Oct 20, 2014 at 03:07:50PM +0400, Andrey Ryabinin wrote: > > On kernel with UBSan enabled I've got following: > > UBSan: Undefined behaviour in ../kernel/time/clockevents.c:75:34 > shift exponent 32 is to large for 32-bit type 'unsigned int' > CPU: 0 PID: 0 Comm: swapper/0

kernel: clockevents: shift out-of-bounds

2014-10-20 Thread Andrey Ryabinin
On kernel with UBSan enabled I've got following: UBSan: Undefined behaviour in ../kernel/time/clockevents.c:75:34 shift exponent 32 is to large for 32-bit type 'unsigned int' CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.17.0-rc7+ #39 Hardware name: QEMU Standard PC (i440FX + PI