diff options
| author | Yuan Can <yuancan@huawei.com> | 2024-10-22 17:04:53 +0800 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2024-10-31 16:18:42 +0200 |
| commit | 3b88a9876779b55478a4dde867e73f7a100ffa23 (patch) | |
| tree | ef135707083d1709e033bf3696fdc45f6a3634a9 /net/lapb/lapb_timer.c | |
| parent | 3c1f19ab3d59d4b01cbb70fc5fbaa8c5805f108b (diff) | |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
