[PATCH v2] mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()

Dan Carpenter dan.carpenter at oracle.com
Fri Sep 23 02:09:52 PDT 2022


On Thu, Sep 22, 2022 at 09:06:40PM +0200, Christophe JAILLET wrote:
> A dma_free_coherent() call is missing in the error handling path of the
> probe, as already done in the remove function.
> 
> Fixes: 3a96dff0f828 ("mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650")
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---
> Changes since v1:
>   * Add and use the (ugly named) 'fail5_and_a_half' label   [Dan Carpenter <dan.carpenter at oracle.com>]
> 

LOL.  This really made me laugh.

Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>

regards,
dan carpenter




More information about the linux-arm-kernel mailing list