Re: [PATCH 0/2] mfd: ls2kbmc: Fix a couple Smatch warnings

From: Lee Jones
Date: Thu Oct 09 2025 - 06:01:22 EST


On Fri, 03 Oct 2025 12:28:58 +0300, Dan Carpenter wrote:
> These are two issues which were detected by Smatch. They're not really
> going to happen in real life. Small kmalloc()s can't fail.
> The devm_mfd_add_devices() function isn't going to fail either...
>
> But still, they're worth fixing just for correctness sake.
>
> Dan Carpenter (2):
> mfd: ls2kbmc: Fix an IS_ERR() vs NULL check in probe()
> mfd: ls2kbmc: check for devm_mfd_add_devices() failure
>
> [...]

Applied, thanks!

[1/2] mfd: ls2kbmc: Fix an IS_ERR() vs NULL check in probe()
commit: b9be0a544c0684672168c7d4a95dc54ba8e1e883
[2/2] mfd: ls2kbmc: check for devm_mfd_add_devices() failure
commit: 35fc7b7df6761233e9d1f85cfc7fc5c4372a5d7b

--
Lee Jones [李琼斯]