Re: [PATCH v2] iio: light: vcnl4000: use sysfs_emit() for near_level
From: Jonathan Cameron
Date: Tue Sep 01 2026 - 12:10:18 EST
On Mon, 31 Aug 2026 11:12:43 +0200
Joshua Crofts <joshua.crofts1@xxxxxxxxx> wrote:
> On Mon, 31 Aug 2026 03:53:45 +0900
> Donggeun Yoo <donggeunyoo.kernel@xxxxxxxxx> wrote:
>
> > Use sysfs_emit() instead of sprintf() for writing to the sysfs
> > output buffer. sysfs_emit() is aware of the buffer's PAGE_SIZE
> > limit and is the preferred helper for sysfs callbacks.
> >
> > Signed-off-by: Donggeun Yoo <donggeunyoo.kernel@xxxxxxxxx>
> > ---
>
> Seems fine.
>
> Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
>
Applied. Forgot to say the other day (or update patchwork).
J