From: Sahil Chandna <sahilchandna@linux.microsoft.com>
To: Markus Elfring <Markus.Elfring@web.de>,
linux-hyperv@vger.kernel.org, Dexuan Cui <decui@microsoft.com>,
Haiyang Zhang <haiyangz@microsoft.com>,
"K. Y. Srinivasan" <kys@microsoft.com>,
Long Li <longli@microsoft.com>, Wei Liu <wei.liu@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] hv_balloon: Simplify data output in hv_balloon_debug_show()
Date: Sat, 6 Jun 2026 00:41:41 +0530 [thread overview]
Message-ID: <43b4f0e4-e071-4e49-b1a2-b56303297c49@linux.microsoft.com> (raw)
In-Reply-To: <4f969d00-df24-4cde-8539-8cbe4a09f417@web.de>
On 05/06/2026 18:20, Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Fri, 5 Jun 2026 14:44:54 +0200
>
> Move the specification for a line break from a seq_puts() call
> to a seq_printf() call.
>
> The source code was transformed by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
> drivers/hv/hv_balloon.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
> index 9a55f5c43307..42ce27be344d 100644
> --- a/drivers/hv/hv_balloon.c
> +++ b/drivers/hv/hv_balloon.c
> @@ -1862,9 +1862,7 @@ static int hv_balloon_debug_show(struct seq_file *f, void *offset)
> if (hot_add_enabled())
> seq_puts(f, " hot_add");
>
> - seq_puts(f, "\n");
> -
> - seq_printf(f, "%-22s: %u", "state", dm->state);
> + seq_printf(f, "\n%-22s: %u", "state", dm->state);
> switch (dm->state) {
> case DM_INITIALIZING:
> sname = "Initializing";
Reviewed-by: Sahil Chandna <sahilchandna@linux.microsoft.com>
prev parent reply other threads:[~2026-06-05 19:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 12:50 [PATCH] hv_balloon: Simplify data output in hv_balloon_debug_show() Markus Elfring
2026-06-05 19:11 ` Sahil Chandna [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=43b4f0e4-e071-4e49-b1a2-b56303297c49@linux.microsoft.com \
--to=sahilchandna@linux.microsoft.com \
--cc=Markus.Elfring@web.de \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longli@microsoft.com \
--cc=wei.liu@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox