Re: [PATCH] sysfs: Remove page boundary align limitation on sysfs_emit and sysfs_emit_at

From: Joe Perches
Date: Thu Sep 09 2021 - 01:06:44 EST


On Wed, 2021-09-08 at 20:07 +0800, Lang Yu wrote:
> The key purpose of sysfs_emit and sysfs_emit_at is to
> ensure that no overrun is done. Make them more equivalent
> with scnprintf.

I can't think of a single reason to do this.
sysfs_emit and sysfs_emit_at are specific to sysfs.

Use of these functions outside of sysfs is not desired or supported.