Re: [PATCH linux-next] genirq: use sysfs_emit()/sysfs_emit_at() instead of scnprintf().

From: xie.ludan
Date: Mon Mar 17 2025 - 04:23:09 EST


> Are you a bot?

> On 17. 03. 25, 7:54, xie.ludan@xxxxxxxxxx wrote:> From: XieLudan <xie.ludan@xxxxxxxxxx>
> > 
> > 
> > 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.


I'm sorry if I make any mistakes. I'm just starting to learn how to submit patches to the community and I'm still learning the proper submission process. 

I would greatly appreciate your patience and guidance during this learning phase. Thank you for your understanding!


Best Regards

Xie Ludan



Original
From: jirislaby <jirislaby@xxxxxxxxxx>
To: Xie Ludan00297061;tglx <tglx@xxxxxxxxxxxxx>;
Cc: linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>;Xu Xin10311587;Yang Yang10192021;
Date: 2025/03/17 15:15
Subject: Re: [PATCH linux-next] genirq: use sysfs_emit()/sysfs_emit_at() instead of scnprintf().
Are you a bot?

On 17. 03. 25, 7:54, xie.ludan@xxxxxxxxxx wrote:
> From: XieLudan <xie.ludan@xxxxxxxxxx>


> 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.


-- 
js
suse labs