Re: [PATCH] PCI: dwc: Fix type mismatch for kstrtou32_from_user return value
From: Manivannan Sadhasivam
Date: Thu Apr 02 2026 - 13:39:19 EST
On Wed, 01 Apr 2026 10:30:48 +0800, Hans Zhang wrote:
> kstrtou32_from_user() returns int, but the return value was stored in
> a u32 variable 'val', risking sign loss. Use a dedicated int variable
> to correctly handle the return code.
Applied, thanks!
[1/1] PCI: dwc: Fix type mismatch for kstrtou32_from_user return value
commit: 445588a3b18bb0702d746cb61f7a443639027651
Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>