Re: [PATCH v8 2/8] iio: dac: ad5686: missing NULL check on match data
Jonathan Cameron <[email protected]> Sun, 19 Jul 2026 23:17:10 +0100
| Newsgroups | org.kernel.vger.linux-hardening,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260719231710.14a669ad@jic23-huawei> |
On Sun, 19 Jul 2026 11:50:56 +0300 Andy Shevchenko <[email protected]> wrote: > On Sun, Jul 19, 2026 at 12:55:44AM +0100, Jonathan Cameron wrote: > > On Fri, 17 Jul 2026 13:28:52 +0300 > > Andy Shevchenko <[email protected]> wrote: > > ... > > > I applied the following rather than going for a v9 for just this: > > Thanks! > > > Shout if I messed it up. > > ... > > > + if (!chip_info) > > + return -ENODEV; > > Perhaps stick with -ENODATA? (Maybe in a separate change, dunno...) > oops. I lost track on where we were with that. Updated.