summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2024-10-22 12:04:53 +0300
committerKalle Valo <kvalo@kernel.org>2024-10-31 17:18:42 +0300
commit3b88a9876779b55478a4dde867e73f7a100ffa23 (patch)
treeef135707083d1709e033bf3696fdc45f6a3634a9 /rust/helpers/build_bug.c
parent3c1f19ab3d59d4b01cbb70fc5fbaa8c5805f108b (diff)
downloadlinux-3b88a9876779b55478a4dde867e73f7a100ffa23.tar.xz
wifi: wfx: Fix error handling in wfx_core_init()
The wfx_core_init() returns without checking the retval from sdio_register_driver(). If the sdio_register_driver() failed, the module failed to install, leaving the wfx_spi_driver not unregistered. Fixes: a7a91ca5a23d ("staging: wfx: add infrastructure for new driver") Signed-off-by: Yuan Can <yuancan@huawei.com> Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://patch.msgid.link/20241022090453.84679-1-yuancan@huawei.com
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions