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

Colin Ian King posted 1 patch 3 years, 9 months ago
drivers/hv/hv_balloon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] Drivers: hv: Fix spelling mistake "total_pages_commited" -> "total_pages_committed"
Posted by Colin Ian King 3 years, 9 months ago
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 <colin.i.king@gmail.com>
---
 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
Re: [PATCH][next] Drivers: hv: Fix spelling mistake "total_pages_commited" -> "total_pages_committed"
Posted by Wei Liu 3 years, 9 months ago
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 <colin.i.king@gmail.com>

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
>