Re: [PATCH v2] staging: wlan-ng: silence incorrect type in argument 1 (different address spaces)

From: Greg Kroah-Hartman
Date: Sat May 01 2021 - 08:23:34 EST


On Sat, May 01, 2021 at 05:09:28PM +0530, Ashish Kalra wrote:
> Currently p80211knetdev_do_ioctl use type casting to req->data to prevent sparse warning while calling memdup_user, instead of type casting it here, its better to change data type for data inside p80211ioctl_req to include __user.

Please properly line-wrap your changelog comments.

Can you fix it up and resend it as v3?

thanks,

greg k-h