Re: [PATCH] drm/i915: i915_pmu: Use sysfs_emit() instead of sprintf()
From: Andi Shyti
Date: Thu Sep 25 2025 - 18:46:39 EST
Hi Madhur,
On Wed, Sep 24, 2025 at 01:20:51AM +0530, Madhur Kumar wrote:
> Follow the advice in Documentation/filesystems/sysfs.rst:
> show() should only use sysfs_emit() or sysfs_emit_at() when formatting
> the value to be returned to user space.
>
> Signed-off-by: Madhur Kumar <madhurkumar004@xxxxxxxxx>
merged to drm-intel-next.
Thank you,
Andi