summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2025-06-17 19:08:12 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-07 06:25:03 +0900
commitc640adf07d874b9ba3c51eb6b56a9986dbcd616f (patch)
tree36d1a94268c7d12150e9cdd449cbcf30c0b621a2 /include/net/aligned_data.h
parente656ba6ca534743960f66f70adac9246243fd9e9 (diff)
spi: spi-nxp-fspi: Check return value of devm_mutex_init()
commit d24a54e032021cf381af3c3cf119cc5cf6b3c1be upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions