[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <461dfa640ae8e98b92ad82b6a5fbef843351d129.camel@perches.com>
Date: Sat, 29 Aug 2020 16:49:55 -0700
From: Joe Perches <joe@...ches.com>
To: Denis Efremov <efremov@...ux.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>
Cc: Kees Cook <keescook@...omium.org>,
"Gustavo A . R . Silva" <gustavoars@...nel.org>,
Julia Lawall <julia.lawall@...ia.fr>,
Alex Dewar <alex.dewar90@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sysfs: Add sysfs_emit to replace sprintf to PAGE_SIZE
buffers.
On Sun, 2020-08-30 at 00:53 +0300, Denis Efremov wrote:
> > Anyway, this will need updating, likely with better examples.
[]
> I think it's good to reflect in docs that sysfs_emit_at/sysfs_emit_pos is
> only for "legacy" code and should not be used in new code (checkpatch.pl warning?)
> because of sysfs design principles.
sysfs_emit_at is also used for arrays.
Powered by blists - more mailing lists