[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176000406355.2720962.11959392466062866125.b4-ty@kernel.org>
Date: Thu, 09 Oct 2025 11:01:03 +0100
From: Lee Jones <lee@...nel.org>
To: Binbin Zhou <zhoubinbin@...ngson.cn>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: Chong Qiao <qiaochong@...ngson.cn>, Corey Minyard <corey@...yard.net>,
Huacai Chen <chenhuacai@...nel.org>, Lee Jones <lee@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] mfd: ls2kbmc: Fix a couple Smatch warnings
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 [李琼斯]
Powered by blists - more mailing lists