Re: [PATCH v1 1/1] mfd: intel_quark_i2c_gpio: Don't play dirty trick with const
From: Andy Shevchenko
Date: Thu Mar 25 2021 - 15:54:53 EST
On Thu, Mar 25, 2021 at 9:31 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Thu, Mar 25, 2021 at 12:23 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > Replace cell parameter by bar and assign local pointer res to the
> > respective non-const place holder in the intel_quark_i2c_setup()
> > and intel_quark_gpio_setup().
>
> Thanks. I assume/hope this got tested on hardware too?
Yes. On exact hardware this driver is for.
> It looks
> ObviouslyCorrect(tm), but that's never stopped bugs before ;)
--
With Best Regards,
Andy Shevchenko