Yuan Can <yuancan@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> > Reviewed-by: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx> Patch applied to wireless-next.git, thanks. 3b88a9876779 wifi: wfx: Fix error handling in wfx_core_init() -- https://patchwork.kernel.org/project/linux-wireless/patch/20241022090453.84679-1-yuancan@xxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches