Re: [PATCH] mmc: cb710: Fix an error handling path in cb710_probe()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Mar 09, 2025 at 09:22:05AM +0100, Christophe JAILLET wrote:
> If an error occurs after a successful ida_alloc() call, it should be undone
> by a corresponding ida_free(), as already done in the remove function.
> 
> Add the missing call in the error handling path of cb710_probe().
> 
> Fixes: 5f5bac8272be ("mmc: Driver for CB710/720 memory card reader (MMC part)")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
>  drivers/misc/cb710/core.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Acked-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx>




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux