mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arnav Kapoor <kapoorarnav43@gmail.com>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: Jonathan Cameron <jic23@kernel.org>,
	David Lechner <dlechner@baylibre.com>,
	Nuno Sa <nuno.sa@analog.com>, Andy Shevchenko <andy@kernel.org>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: proximity: sx9324: fix out-of-bounds read of scan
Date: Thu, 22 Oct 2026 22:14:52 +0530	[thread overview]
Message-ID: <20261022164452.201416-3-kapoorarnav43@gmail.com> (raw)
In-Reply-To: <ato8fTSWub91Fy2R@ashevche-desk.local>

On Thu, Oct 22, 2026 at 07:40:29PM +0300, Andy Shevchenko wrote:
> NAK to this hunk.
> Homework:
> read my comments regarding formatting such arrays in linux-iio@ mailing list
> for last calendar year or so and summarize the idea.

Understood. I'll go through your comments on linux-iio about formatting
such tables and redo the array accordingly in v2.

> > +static_assert(ARRAY_SIZE(sx9324_scan_period_table) ==
> > +	      ARRAY_SIZE(sx9324_samp_freq_table));
>
> This is fine, but I would dare make it a single line.

Will do.

Thanks for the review,
Arnav

      reply	other threads:[~2026-10-22 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 22:54 Arnav Kapoor
2026-10-22 16:40 ` Andy Shevchenko
2026-10-22 16:44   ` Arnav Kapoor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261022164452.201416-3-kapoorarnav43@gmail.com \
    --to=kapoorarnav43@gmail.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®