Re: [PATCH v2] w1: Misuse of get_user()/put_user() reported by sparse

2021-11-26 Thread Greg Kroah-Hartman
On Fri, Nov 26, 2021 at 05:57:58PM +0100, Christophe Leroy wrote: > > > Le 26/11/2021 à 17:54, Greg Kroah-Hartman a écrit : > > On Fri, Nov 26, 2021 at 05:47:58PM +0100, Christophe Leroy wrote: > > > sparse warnings: (new ones prefixed by >>) > > > > > drivers/w1/slaves/w1_ds28e04.c:342:13: spars

Re: [PATCH v2] w1: Misuse of get_user()/put_user() reported by sparse

2021-11-26 Thread Christophe Leroy
Le 26/11/2021 à 17:54, Greg Kroah-Hartman a écrit : On Fri, Nov 26, 2021 at 05:47:58PM +0100, Christophe Leroy wrote: sparse warnings: (new ones prefixed by >>) drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected ch

Re: [PATCH v2] w1: Misuse of get_user()/put_user() reported by sparse

2021-11-26 Thread Greg Kroah-Hartman
On Fri, Nov 26, 2021 at 05:47:58PM +0100, Christophe Leroy wrote: > sparse warnings: (new ones prefixed by >>) > >> drivers/w1/slaves/w1_ds28e04.c:342:13: sparse: sparse: incorrect type in > >> initializer (different address spaces) @@ expected char [noderef] > >> __user *_pu_addr @@ got