[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMpxmJXtbW0R375m41KTE+D+OQpvadR+yBbZREVRyAuG8G-nMw@mail.gmail.com>
Date: Fri, 10 Jan 2020 12:13:08 +0100
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Cc: Bartosz Golaszewski <brgl@...ev.pl>,
Linus Walleij <linus.walleij@...aro.org>,
Khouloud Touil <ktouil@...libre.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
LKML <linux-kernel@...r.kernel.org>,
kbuild test robot <lkp@...el.com>
Subject: Re: [PATCH -next] nvmem: fix a 'makes pointer from integer without a
cast' build warning
pt., 10 sty 2020 o 11:16 Srinivas Kandagatla
<srinivas.kandagatla@...aro.org> napisaĆ(a):
>
> Thanks for the patch.
>
> On 10/01/2020 08:24, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bgolaszewski@...libre.com>
> >
> > nvmem_register() returns a pointer, not a long int. Use ERR_CAST() to
> > cast the struct gpio_desc pointer to struct nvmem_device.
> >
> > Reported-by: kbuild test robot <lkp@...el.com>
> > Fixes: 2a127da461a9 ("nvmem: add support for the write-protect pin")
> > Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
> > ---
>
> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
>
Thanks. This is rather uncontroversial, so applied right away.
Bart
Powered by blists - more mailing lists