Messages in this thread | | | Subject | Re: [PATCH] scsi: aic7xxx: Fix unintentional sign extension issue on left shift of u8 | From | "Martin K. Petersen" <> | Date | Tue, 22 Jun 2021 21:17:06 -0400 |
| |
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
| |