Messages in this thread |  | | Date | Tue, 5 May 2026 10:29:17 +0100 | | From | Jonathan Cameron <> | | Subject | Re: [PATCH v4 3/3] iio: light: stk3310: Use sizeof() for regmap_bulk_read/write count parameter |
| |
On Tue, 5 May 2026 09:49:41 +0300 Andy Shevchenko <andriy.shevchenko@intel.com> wrote:
> On Mon, May 04, 2026 at 11:04:08AM +0800, Miao Li wrote: > > > Convert the hardcoded count parameter to sizeof(buf) for all > > regmap_bulk_write() and regmap_bulk_read() calls in this driver > > to improve code maintainability. For details, see [1]. > > > [1] https://lore.kernel.org/all/20260428192213.7c5c80e5@jic23-huawei/ > > > > Make these two lines a formal Link tag, > > Link: $URL [1] > > Perhaps even Suggested-by tag is also good to add. Tweaked this and the previous as suggested + added tag to previous.
Thanks,
J > > > Signed-off-by: Miao Li <limiao@kylinos.cn> >
|  |