Re: UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread James Bottomley
rd > > > Adaptec > > > SCSI > > > controller, once during bootup. > > > > > > [4.896307] > > > ========= > > > ==== > > > === > > > [4.896471] UBSAN: Und

Re: UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread James Bottomley
> SCSI > > > controller, once during bootup. > > > > > > [4.896307] > > > ========= > > > ==== > > > === > > > [4.896471] UBSAN: Undefined behaviour i

Re: UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread Ilia Mirkin
bootup. >> >> [4.896307] >> ===== >> === >> [ 4.896471] UBSAN: Undefined behaviour in >> drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31 >> [4.896629] shift exponent -1 is negative > > Is this

Re: UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread Ilia Mirkin
. >> >> [4.896307] >> = >> === >> [ 4.896471] UBSAN: Undefined behaviour in >> drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31 >> [4.896629] shift exponent -1 is negative > > Is this some sort of false positive? The shi

Re: UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread James Bottomley
gt; [4.896471] UBSAN: Undefined behaviour in > drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31 > [4.896629] shift exponent -1 is negative Is this some sort of false positive? The shift in question is devinfo->target_mask = (0x01 << devinfo

Re: UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread James Bottomley
gt; [4.896471] UBSAN: Undefined behaviour in > drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31 > [4.896629] shift exponent -1 is negative Is this some sort of false positive? The shift in question is devinfo->target_mask = (0x01 << devinfo

UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread Meelis Roos
This is from a dual-AthlonMP 32-bit x86 system with onboard Adaptec SCSI controller, once during bootup. [4.896307] [4.896471] UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31

2016-05-12 Thread Meelis Roos
This is from a dual-AthlonMP 32-bit x86 system with onboard Adaptec SCSI controller, once during bootup. [4.896307] [4.896471] UBSAN: Undefined behaviour in drivers/scsi/aic7xxx/aic7xxx_core.c:2831:31