Re: [PATCH] staging: greybus: audio: add missing newline to sysfs_emit formats

From: Dan Carpenter

Date: Sat Jun 13 2026 - 02:15:28 EST


On Fri, Jun 12, 2026 at 06:49:05PM -0700, Brock Haftner wrote:
> The sysfs_emit() function is used to format strings that are returned
> to userspace. According to the sysfs documentation, these outputs
> should include a newline character for visual clarity.
>
> Fix the checkpatch.pl warnings by adding the missing '\n' to the
> sysfs_emit() format strings inside several functions.
>
> Signed-off-by: Brock Haftner <brockhaftner@xxxxxxxxx>

Please don't do this for existing code, only for new code. There
is a risck that user space relies on the old behavior.

regards,
dan carpenter