[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1d17xwmtz.fsf@oracle.com>
Date: Mon, 14 Aug 2017 23:07:20 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Helge Deller <deller@....de>
Cc: linux-scsi@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
linux-kernel@...r.kernel.org, linux-parisc@...r.kernel.org
Subject: Re: [PATCH] sym53c8xx: Avoid undefined behaviour in drivers/scsi/sym53c8xx_2/sym_hipd.c:762
Helge,
> On parisc I see this UBSAN warning with a sym53c896:
>
> UBSAN: Undefined behaviour in ./drivers/scsi/sym53c8xx_2/sym_hipd.c:762:24
> index -1903078336 is out of range for type 'u32 [7]'
>
> Avoid this warning by switching to dev64_ul().
Applied to 4.14/scsi-queue. Thank you, Helge!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists