Re: [PATCH] PCI: dwc: Fix signedness bug in fault injection test code

Manivannan Sadhasivam <[email protected]>
Newsgroups org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
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]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.