[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq1v965s7ln.fsf@ca-mkp.ca.oracle.com>
Date: Tue, 22 Jun 2021 21:17:06 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Colin King <colin.king@...onical.com>
Cc: Hannes Reinecke <hare@...e.com>,
"James E . J . Bottomley" <jejb@...ux.ibm.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: aic7xxx: Fix unintentional sign extension issue
on left shift of u8
Colin,
> The shifting of the u8 integer returned fom ahc_inb(ahc, port+3) by 24
> bits to the left will be promoted to a 32 bit signed int and then
> sign-extended to a u64.
Applied to 5.14/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists