Re: [PATCH v1 3/4] iio: chemical: sps30: Unshadow error codes in ->store()
"Maxwell Doose" <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu Aug 13, 2026 at 2:16 AM CDT Andy Shevchenko <[email protected]> wrote: > kstrtox() may return different error codes. > > Unshadow them in the ->store() callback to give better error report. > > While at it, add missing kstrtox.h inclusion. > > Signed-off-by: Andy Shevchenko <[email protected]> > --- > drivers/iio/chemical/sps30.c | 11 ++++++++--- > 1 file changed, 8 insertions(+), 3 deletions(-) > Reviewed-by: Maxwell Doose <[email protected]> thanks, max