Re: [PATCH] [v2] wilc1000: Fix memleak in wilc_sdio_probe
From: Kalle Valo <hidden>
Date: 2020-08-27 10:03:02
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2020-08-27 10:03:02
Also in:
lkml, netdev
Dinghao Liu [off-list ref] wrote:
When devm_clk_get() returns -EPROBE_DEFER, sdio_priv
should be freed just like when wilc_cfg80211_init()
fails.
Fixes: 8692b047e86cf ("staging: wilc1000: look for rtc_clk clock")
Signed-off-by: Dinghao Liu <redacted>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>Patch applied to wireless-drivers-next.git, thanks. 8d95ab34b21e wilc1000: Fix memleak in wilc_sdio_probe -- https://patchwork.kernel.org/patch/11725481/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches