[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=whDQ_YFwXi2aC5r=mswSdkERxX0kQ=D-c_pFawSoQJ96Q@mail.gmail.com>
Date: Thu, 25 Mar 2021 12:28:36 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Lee Jones <lee.jones@...aro.org>
Subject: Re: [PATCH v1 1/1] mfd: intel_quark_i2c_gpio: Don't play dirty trick
with const
On Thu, Mar 25, 2021 at 12:23 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> 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? It looks
ObviouslyCorrect(tm), but that's never stopped bugs before ;)
Linus
Powered by blists - more mailing lists