lkml.org 
[lkml]   [2016]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25
On Tue, 26 Jan 2016, Chris Bainbridge wrote:

> Booting 4.5.0-rc1 with new UBSAN checker enabled:
>
> [ 4.556968] ================================================================================
> [ 4.556972] UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25
> [ 4.556975] shift exponent -1 is negative

Does a left shift by a negative amount matter if the result isn't used?

Alan Stern

\
 
 \ /
  Last update: 2016-01-26 17:01    [W:0.039 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site