Re: [PATCH] staging: greybus: audio: Add trailing newline to sysfs show output
From: Dan Carpenter
Date: Mon Nov 23 2026 - 14:20:41 EST
On Mon, Nov 23, 2026 at 01:18:49PM -0600, Hezekiah Mogere Joseph Mayaka wrote:
> The show() functions for the name, vid, pid, intf_id, ip_devices and
> op_devices attributes do not end their output with a newline, so
> reading them with cat leaves the shell prompt on the same line.
> checkpatch.pl warns about this:
>
> WARNING: return sysfs_emit(...) formats should include a terminating newline
>
> Add the missing newline, matching the other greybus sysfs attributes.
>
> Signed-off-by: Hezekiah Mogere Joseph Mayaka <hmjm081106@xxxxxxxxx>
> ---
You can't change UAPI unless you can test the actual user space. Sorry!
regards,
dan carpenter