Hi Dan,
Understood, thanks for the quick review. I can't test the user space side, so please drop this patch.
Thanks, Hezekiah
On Mon, Nov 23, 2026 at 1:20 PM Dan Carpenter error27@gmail.com wrote:
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@gmail.com
You can't change UAPI unless you can test the actual user space. Sorry!
regards, dan carpenter