Re: [PATCH] scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8
From: Martin K. Petersen
Date: Tue Jun 22 2021 - 21:17:20 EST
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