Re: [PATCH] ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all

From: Takashi Iwai
Date: Wed May 18 2022 - 01:00:52 EST


On Wed, 18 May 2022 04:16:16 +0200,
Wan Jiabing wrote:
>
> Fix following coccicheck error:
> ./sound/usb/endpoint.c:1671:8-10: ERROR: reference preceded by free on line 1671.
>
> Here should be 'cp' rather than 'ip'.
>
> Fixes: c11117b634f4 ("ALSA: usb-audio: Refcount multiple accesses on the single clock")
> Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>

Oh, that was a silly failure.
Applied now, thanks!


Takashi