Re: [PATCH v2] staging: wlan-ng: silence incorrect type in argument 1 (different address spaces) warningJoe Perches <joe@xxxxxxxxxxx>,

From: Greg Kroah-Hartman
Date: Tue Apr 27 2021 - 12:11:51 EST


On Tue, Apr 27, 2021 at 02:45:56PM +0000, Ashish Kalra wrote:
> Abheek Dhawan <adawesomeguy222@xxxxxxxxx>,
> Johannes Weiner <hannes@xxxxxxxxxxx>,
> Romain Perier <romain.perier@xxxxxxxxx>,
> Waiman Long <longman@xxxxxxxxxx>,
> Allen Pais <apais@xxxxxxxxxxxxxxxxxxx>,
> Ivan Safonov <insafonov@xxxxxxxxx>,
> linux-staging@xxxxxxxxxxxxxxx,
> linux-kernel@xxxxxxxxxxxxxxx

Why is this here in the email body?

> Upon running sparse, "warning: incorrect type in argument 1 (different
> address spaces) is brought to notice for this file.let's correct data type for
> variable data adding __user to make it cleaner and silence the Sparse
> warning. This is version 2 of the patch, version 1 can be found at
> https://lkml.org/lkml/2021/4/20/203

Always use lore.kernel.org links, not a random other site that we have
no idea who runs it.

And no need to say this in that form, please list below the --- line
what changed from v1.

thanks,

greg k-h