2022-07-14 11:09:06

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] Drivers: hv: Fix spelling mistake "total_pages_commited" -> "total_pages_committed"

There is a spelling mistake in a seq_printf message. Fix it.

Fixes: e237eed373cc ("Drivers: hv: Create debugfs file with hyper-v balloon usage information")
Signed-off-by: Colin Ian King <[email protected]>
---
drivers/hv/hv_balloon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
index ba52d3a3e3e3..fdf6decacf06 100644
--- a/drivers/hv/hv_balloon.c
+++ b/drivers/hv/hv_balloon.c
@@ -1892,7 +1892,7 @@ static int hv_balloon_debug_show(struct seq_file *f, void *offset)
/* pages we have given back to host */
seq_printf(f, "%-22s: %u\n", "pages_ballooned", dm->num_pages_ballooned);

- seq_printf(f, "%-22s: %lu\n", "total_pages_commited",
+ seq_printf(f, "%-22s: %lu\n", "total_pages_committed",
get_pages_committed(dm));

seq_printf(f, "%-22s: %llu\n", "max_dynamic_page_count",
--
2.35.3


2022-07-18 11:34:19

by Wei Liu

[permalink] [raw]
Subject: Re: [PATCH][next] Drivers: hv: Fix spelling mistake "total_pages_commited" -> "total_pages_committed"

On Thu, Jul 14, 2022 at 11:26:34AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a seq_printf message. Fix it.
>
> Fixes: e237eed373cc ("Drivers: hv: Create debugfs file with hyper-v balloon usage information")
> Signed-off-by: Colin Ian King <[email protected]>

Good catch!

I've folded this into the original patch. Thanks.

> ---
> drivers/hv/hv_balloon.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c
> index ba52d3a3e3e3..fdf6decacf06 100644
> --- a/drivers/hv/hv_balloon.c
> +++ b/drivers/hv/hv_balloon.c
> @@ -1892,7 +1892,7 @@ static int hv_balloon_debug_show(struct seq_file *f, void *offset)
> /* pages we have given back to host */
> seq_printf(f, "%-22s: %u\n", "pages_ballooned", dm->num_pages_ballooned);
>
> - seq_printf(f, "%-22s: %lu\n", "total_pages_commited",
> + seq_printf(f, "%-22s: %lu\n", "total_pages_committed",
> get_pages_committed(dm));
>
> seq_printf(f, "%-22s: %llu\n", "max_dynamic_page_count",
> --
> 2.35.3
>