Re: [PATCH v3] misc: mic: Use memdup_user() as a cleanup

From: Greg KH
Date: Tue Dec 19 2017 - 04:17:25 EST


On Wed, Dec 13, 2017 at 11:01:08PM +0100, Vasyl Gomonovych wrote:
> Fix coccicheck warning which recommends to use memdup_user():
>
> drivers/misc/mic/vop/vop_vringh.c:940:14-21: WARNING opportunity for memdup_user
> drivers/misc/mic/vop/vop_vringh.c:998:8-15: WARNING opportunity for memdup_user
> Generated by: scripts/coccinelle/memdup_user/memdup_user.cocci
>
> Signed-off-by: Vasyl Gomonovych <gomonovych@xxxxxxxxx>
> ---
> I'm not sure if this still valid, maybe warning was fixed already.
> In that case sorry for this disturbing noise.

Seems to already be in the tree.

thanks,

greg k-h