Re: [PATCH] usb: gadget: remove useless cast

From: Felipe Balbi
Date: Mon Aug 02 2021 - 04:27:30 EST



Salah Triki <salah.triki@xxxxxxxxx> writes:

> Remove the cast done by ERR_PTR() and PTR_ERR() since data is of type char
> * and fss_prepare_buffer() should returns a value of this type.
>
> Signed-off-by: Salah Triki <salah.triki@xxxxxxxxx>

Acked-by: Felipe Balbi <balbi@xxxxxxxxxx>

--
balbi