Re: [PATCH v1 2/4] iio: imu: inv_mpu6050: Unshadow error codes in ->store()
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAHp75VcpmkF-P33qgixJAUTbt2AAxwcDaw2owSHDDu2Xvo_gpA@mail.gmail.com> |
On Thu, Aug 13, 2026 at 8:57 PM Maxwell Doose <[email protected]> wrote: > On Thu Aug 13, 2026 at 2:16 AM CDT > Andy Shevchenko <[email protected]> wrote: ... > > + result = kstrtoint(buf, 10, &fifo_rate); > > + if (result) > > + return result; > > I suppose result is what was being used before? Yes, its semantic is the same as for the usual 'ret' variable. > Oh well doesn't seem > worth it to send a patch *just* to change to int ret. > Reviewed-by: Maxwell Doose <[email protected]> Thanks! -- With Best Regards, Andy Shevchenko