Messages in this thread |  | | Date | Tue, 5 May 2026 09:49:41 +0300 | | From | Andy Shevchenko <> | | Subject | Re: [PATCH v4 3/3] iio: light: stk3310: Use sizeof() for regmap_bulk_read/write count parameter |
| |
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.
> Signed-off-by: Miao Li <limiao@kylinos.cn>
-- With Best Regards, Andy Shevchenko
|  |