Messages in this thread | | | Subject | Re: [PATCH] sysfs: Add sysfs_emit to replace sprintf to PAGE_SIZE buffers. | From | Joe Perches <> | Date | Sat, 29 Aug 2020 16:49:55 -0700 |
| |
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.
| |