Re: [PATCH] staging: r8188eu: Fix incorrect types in arguments
From: Dan Carpenter
Date: Thu Aug 05 2021 - 11:45:06 EST
On Thu, Aug 05, 2021 at 03:11:08PM +0200, Fabio M. De Francesco wrote:
> GCC + Sparse emit warnings of passing incorrect type in arguments of
> some functions because of different base types. Fix them by changing
> the types of the parameters of the above-mentioned functions.
> In the meantime, remove the unnecessary casts of those arguments
> which are then passed to memcpy() within those same functions.
>
Thanks!
Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
regards,
dan carpenter