From: dmkhn@proton.me
To: Jason Andryuk <jason.andryuk@amd.com>
Cc: xen-devel@lists.xenproject.org,
Anthony PERARD <anthony.perard@vates.tech>
Subject: Re: [PATCH 1/2] tools/xen-hptool: Add missing newlines
Date: Wed, 23 Apr 2025 21:37:51 +0000 [thread overview]
Message-ID: <aAldrBmY5ef5JJ2Q@kraken> (raw)
In-Reply-To: <20250423212821.42776-2-jason.andryuk@amd.com>
On Wed, Apr 23, 2025 at 05:28:20PM -0400, Jason Andryuk wrote:
> Add some missing newlines to error messages.
>
> Fixes: 284d5633be37 ("Tools: add online/offline hotplug user interfaces")
> Signed-off-by: Jason Andryuk <jason.andryuk@amd.com>
Reviewed-by: Denis Mukhin <dmukhin@ford.com>
> ---
> tools/misc/xen-hptool.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/misc/xen-hptool.c b/tools/misc/xen-hptool.c
> index 6d6aec8bad..d850404e31 100644
> --- a/tools/misc/xen-hptool.c
> +++ b/tools/misc/xen-hptool.c
> @@ -51,7 +51,7 @@ static int hp_mem_online_func(int argc, char *argv[])
> ret = xc_mark_page_online(xch, mfn, mfn, &status);
>
> if (ret < 0)
> - fprintf(stderr, "Onlining page mfn %lx failed, error %x", mfn, errno);
> + fprintf(stderr, "Onlining page mfn %lx failed, error %x\n", mfn, errno);
> else if (status & (PG_ONLINE_FAILED |PG_ONLINE_BROKEN)) {
> fprintf(stderr, "Onlining page mfn %lx is broken, "
> "Memory online failed\n", mfn);
> @@ -82,7 +82,7 @@ static int hp_mem_query_func(int argc, char *argv[])
> ret = xc_query_page_offline_status(xch, mfn, mfn, &status);
>
> if (ret < 0)
> - fprintf(stderr, "Querying page mfn %lx failed, error %x", mfn, errno);
> + fprintf(stderr, "Querying page mfn %lx failed, error %x\n", mfn, errno);
> else
> {
> printf("Memory Status %x: [", status);
> --
> 2.49.0
>
>
next prev parent reply other threads:[~2025-04-23 21:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-23 21:28 [PATCH 0/2] xen-hptool small cleanups Jason Andryuk
2025-04-23 21:28 ` [PATCH 1/2] tools/xen-hptool: Add missing newlines Jason Andryuk
2025-04-23 21:37 ` dmkhn [this message]
2025-04-24 14:59 ` Anthony PERARD
2025-04-23 21:28 ` [PATCH 2/2] tools/xen-hptool: Replace hard tabs Jason Andryuk
2025-04-23 21:38 ` dmkhn
2025-04-24 15:00 ` Anthony PERARD
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=aAldrBmY5ef5JJ2Q@kraken \
--to=dmkhn@proton.me \
--cc=anthony.perard@vates.tech \
--cc=jason.andryuk@amd.com \
--cc=xen-devel@lists.xenproject.org \
/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.