Re: [PATCH 2/2] iio: adc: at91: fix wrong channel number in triggered buffer mode

From: Himanshu Jha
Date: Sat Sep 22 2018 - 07:49:01 EST


On Sat, Sep 22, 2018 at 11:36:16AM +0100, Jonathan Cameron wrote:
> On Fri, 21 Sep 2018 15:26:03 +0800
> kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> > Hi Eugen,
> This one is leaving me stumped...
>
> Anyone care to point out what I'm missing that is wrong here?
>
> Also Eugen, please don't cc stable on a patch directly. It is fine to send
> a backport request once a patch has hit mainline, but before that it's just
> adding noise to a list as they won't take it directly anyway.

Song is correct on this one.

So, just replace the declaration to:

struct iio_chan_spec const *chan;

and then warning goes away...

Another thing, its better not to reply the automated bot and instead to
the author by changing "From" address. :)

That is what I do often when replying to that thread.

20180921182616.GA2077@himanshu-Vostro-3559/">https://lore.kernel.org/lkml/20180921182616.GA2077@himanshu-Vostro-3559/

And it nests properly in the given thread avoiding any noise to kbuild
bot.


--
Himanshu Jha
Undergraduate Student
Department of Electronics & Communication
Guru Tegh Bahadur Institute of Technology