[PATCH] scsi: ufs: exynos: fix programming of HCI_UTRL_NEXUS_TYPE
Martin K. Petersen
martin.petersen at oracle.com
Mon Jul 21 20:46:54 PDT 2025
On Mon, 07 Jul 2025 18:05:27 +0100, André Draszik wrote:
> On Google gs101, the number of UTP transfer request slots (nutrs) is
> 32, and in this case the driver ends up programming the UTRL_NEXUS_TYPE
> incorrectly as 0.
>
> This is because the left hand side of the shift is 1, which is of type
> int, i.e. 31 bits wide. Shifting by more than that width results in
> undefined behaviour.
>
> [...]
Applied to 6.17/scsi-queue, thanks!
[1/1] scsi: ufs: exynos: fix programming of HCI_UTRL_NEXUS_TYPE
https://git.kernel.org/mkp/scsi/c/01aad16c2257
--
Martin K. Petersen Oracle Linux Engineering
More information about the linux-arm-kernel
mailing list