Re: [PATCH] PCI: dwc: Fix signedness bug in fault injection test code
Manivannan Sadhasivam <[email protected]>
| Newsgroups | gmane.linux.kernel.pci,gmane.linux.kernel,gmane.linux.kernel.janitors |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 12 May 2026 13:17:55 +0300, Dan Carpenter wrote:
> The kstrtou32() function returns negative error code or zero on success.
> However, in this case "val" is a u32 and the function returns signed
> longs so negative error codes from kstrtou32() are returned as high
> positive values.
>
> Store the error code in an int instead.
>
> [...]
Applied, thanks!
[1/1] PCI: dwc: Fix signedness bug in fault injection test code
commit: 94ac934d2c054fba4a22d8dc84749094c5fa0ec0
Best regards,
--
Manivannan Sadhasivam <[email protected]>