diff options
| author | 2025-06-17 19:08:12 +0200 | |
|---|---|---|
| committer | 2025-07-11 15:02:07 -0700 | |
| commit | d24a54e032021cf381af3c3cf119cc5cf6b3c1be (patch) | |
| tree | cc4d414bfbde59f2b5b814bae5c392591dd86055 /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | local_lock: Move this_cpu_ptr() notation from internal to main header (diff) | |
| download | wireguard-linux-d24a54e032021cf381af3c3cf119cc5cf6b3c1be.tar.xz wireguard-linux-d24a54e032021cf381af3c3cf119cc5cf6b3c1be.zip | |
spi: spi-nxp-fspi: Check return value of devm_mutex_init()
devm_mutex_init() can fail. With CONFIG_DEBUG_MUTEXES=y the mutex will
be marked as unusable and trigger errors on usage.
Add the missed check.
Fixes: 48900813abd2 ("spi: spi-nxp-fspi: remove the goto in probe")
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20250617-must_check-devm_mutex_init-v7-1-d9e449f4d224@weissschuh.net
Diffstat (limited to 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
