From: Dan Carpenter <error27@gmail.com>
To: Hezekiah Mogere Joseph Mayaka <hmjm081106@gmail.com>
Cc: Vaibhav Agarwal <vaibhav.sr@gmail.com>,
Mark Greer <mgreer@animalcreek.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Johan Hovold <johan@kernel.org>, Alex Elder <elder@kernel.org>,
greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: greybus: audio: Add trailing newline to sysfs show output
Date: Mon, 23 Nov 2026 22:20:32 +0300 [thread overview]
Message-ID: <awSSAAX_x0zj_cCp@stanley.mountain> (raw)
In-Reply-To: <20261123191849.232589-1-hmjm081106@gmail.com>
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
prev parent reply other threads:[~2026-11-23 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 19:18 [PATCH] staging: greybus: audio: Add trailing newline to sysfs show output Hezekiah Mogere Joseph Mayaka
2026-11-23 19:20 ` Dan Carpenter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awSSAAX_x0zj_cCp@stanley.mountain \
--to=error27@gmail.com \
--cc=elder@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=greybus-dev@lists.linaro.org \
--cc=hmjm081106@gmail.com \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=mgreer@animalcreek.com \
--cc=vaibhav.sr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.