[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZIbwUKxlhWQZYnPz@surfacebook>
Date: Mon, 12 Jun 2023 13:15:44 +0300
From: andy.shevchenko@...il.com
To: Markus Burri <markus.burri@...com>
Cc: linux-kernel@...r.kernel.org, Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Alexandru Tachici <alexandru.tachici@...log.com>,
Jonathan Cameron <jic23@...nel.org>, linux-iio@...r.kernel.org
Subject: Re: [PATCH v1] iio: adc: ad7192: store indio_dev into spi driver data
Mon, Jun 12, 2023 at 10:08:47AM +0200, Markus Burri kirjoitti:
> After calibration the indio_dev is used to get channel information.
> Since the pointer is not stored into spi driver data, there is a kernel
> null pointer dereference.
> Store the indio_dev into spi driver data to fix this.
This definitely deserves the Fixes tag. Can you dig the history to find the
culprit one?
> Add error check and slightly extend the debug messages.
I'm not sure this will belong to the same change, so I would split this out to
a separate one.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists