diff options
| author | 2025-10-03 12:29:09 +0300 | |
|---|---|---|
| committer | 2025-10-03 10:38:17 -0500 | |
| commit | 0892507f4a0b76eb897afc2bacca85e172512379 (patch) | |
| tree | fd1b6e3b72c618546738a3a71bdc008f238f07c7 /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge tag 'mm-nonmm-stable-2025-10-02-15-29' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (diff) | |
| download | wireguard-linux-0892507f4a0b76eb897afc2bacca85e172512379.tar.xz wireguard-linux-0892507f4a0b76eb897afc2bacca85e172512379.zip | |
mfd: ls2kbmc: Fix an IS_ERR() vs NULL check in probe()
The devm_kzalloc() function returns NULL on error so check for that
instead of error pointers.
Fixes: d952bba3fbb5 ("mfd: ls2kbmc: Add Loongson-2K BMC reset function support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Message-ID: <df80c6d61229eb8f877c3694525c0f97e64a43e8.1759478975.git.dan.carpenter@linaro.org>
Signed-off-by: Corey Minyard <corey@minyard.net>
Diffstat (limited to 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
