lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGb2v66efw2xABohSdiMn=EfwoCvAj2-WGnGNXT5PLtCTBZo1g@mail.gmail.com>
Date: Sat, 28 Jun 2025 23:03:23 +0800
From: Chen-Yu Tsai <wens@...nel.org>
To: Jonathan Cameron <jic23@...nel.org>
Cc: David Lechner <dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>, 
	Andy Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org, linux-sunxi@...ts.linux.dev, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: adc: axp20x_adc: Add missing sentinel to AXP717 ADC
 channel maps

On Sat, Jun 28, 2025 at 10:51 PM Jonathan Cameron <jic23@...nel.org> wrote:
>
> On Sat, 28 Jun 2025 12:43:26 +0800
> Chen-Yu Tsai <wens@...nel.org> wrote:
>
> > From: Chen-Yu Tsai <wens@...e.org>
> >
> > The AXP717 ADC channel maps is missing a sentinel entry at the end. This
> > causes a KASAN warning.
> >
> > Add the missing sentinel entry.
> >
> > Fixes: 5ba0cb92584b ("iio: adc: axp20x_adc: add support for AXP717 ADC")
> > Signed-off-by: Chen-Yu Tsai <wens@...e.org>
> I picked up the version you posted on 7th June.
> I've been a bit slow to send a fixed pull request - sorry about that; busy
> few weeks.

Ah, sorry about that. I was looking through my work directory and trees,
didn't find a patch file and thought I hadn't sent it yet.

Good to know it's already queued up.

Thanks
ChenYu


> Jonathan
>
>
> > ---
> >  drivers/iio/adc/axp20x_adc.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/iio/adc/axp20x_adc.c b/drivers/iio/adc/axp20x_adc.c
> > index 71584ffd3632..1b49325ec1ce 100644
> > --- a/drivers/iio/adc/axp20x_adc.c
> > +++ b/drivers/iio/adc/axp20x_adc.c
> > @@ -187,6 +187,7 @@ static struct iio_map axp717_maps[] = {
> >               .consumer_channel = "batt_chrg_i",
> >               .adc_channel_label = "batt_chrg_i",
> >       },
> > +     { }
> >  };
> >
> >  /*
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ