[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <wd42hb6kriwk7wlunhlei5tnbslbckdaomsmhrcjx33wta3vga@ozds23vg7ez6>
Date: Wed, 24 Sep 2025 14:21:24 +0200
From: Andi Shyti <andi.shyti@...nel.org>
To: Madhur Kumar <madhurkumar004@...il.com>
Cc: jani.nikula@...ux.intel.com, joonas.lahtinen@...ux.intel.com,
rodrigo.vivi@...el.com, tursulin@...ulin.net, airlied@...il.com, simona@...ll.ch,
intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/i915: i915_pmu: Use sysfs_emit() instead of sprintf()
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@...il.com>
Reviewed-by: Andi Shyti <andi.shyti@...ux.intel.com>
Thanks,
Andi
Powered by blists - more mailing lists