diff mbox series

tools/mm: fix compile error

Message ID 20241112171655.1662670-1-motiejus@jakstys.lt (mailing list archive)
State New
Headers show
Series tools/mm: fix compile error | expand

Commit Message

Motiejus Jakštys Nov. 12, 2024, 5:16 p.m. UTC
Not much to be said here, add a missing semicolon.

Fixes: ece5897e5a10 ("tools/mm: -Werror fixes in page-types/slabinfo")
Closes: https://github.com/NixOS/nixpkgs/issues/355369
Signed-off-by: Motiejus Jakštys <motiejus@jakstys.lt>
Cc: <stable@vger.kernel.org>
---
 tools/mm/page-types.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 2d5404caa8c7bb5c4e0435f94b28834ae5456623

Comments

SeongJae Park Nov. 12, 2024, 8:53 p.m. UTC | #1
On Tue, 12 Nov 2024 19:16:55 +0200 Motiejus Jakštys <motiejus@jakstys.lt> wrote:

> Not much to be said here, add a missing semicolon.
> 
> Fixes: ece5897e5a10 ("tools/mm: -Werror fixes in page-types/slabinfo")
> Closes: https://github.com/NixOS/nixpkgs/issues/355369
> Signed-off-by: Motiejus Jak\u0161tys <motiejus@jakstys.lt>
> Cc: <stable@vger.kernel.org>

Reviewed-by: SeongJae Park <sj@kernel.org>

> ---
>  tools/mm/page-types.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/mm/page-types.c b/tools/mm/page-types.c
> index 6eb17cc1a06c..bcac7ebfb51f 100644
> --- a/tools/mm/page-types.c
> +++ b/tools/mm/page-types.c
> @@ -420,7 +420,7 @@ static void show_page(unsigned long voffset, unsigned long offset,
>  	if (opt_file)
>  		printf("%lx\t", voffset);
>  	if (opt_list_cgroup)
> -		printf("@%" PRIu64 "\t", cgroup)
> +		printf("@%" PRIu64 "\t", cgroup);
>  	if (opt_list_mapcnt)
>  		printf("%" PRIu64 "\t", mapcnt);
>  
> 
> base-commit: 2d5404caa8c7bb5c4e0435f94b28834ae5456623
> -- 
> 2.44.2


Thanks,
SJ
Vishal Moola Nov. 13, 2024, 9:54 p.m. UTC | #2
On Tue, Nov 12, 2024 at 07:16:55PM +0200, Motiejus Jakštys wrote:
> Not much to be said here, add a missing semicolon.
> 
> Fixes: ece5897e5a10 ("tools/mm: -Werror fixes in page-types/slabinfo")
> Closes: https://github.com/NixOS/nixpkgs/issues/355369
> Signed-off-by: Motiejus Jakštys <motiejus@jakstys.lt>
> Cc: <stable@vger.kernel.org>

Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
diff mbox series

Patch

diff --git a/tools/mm/page-types.c b/tools/mm/page-types.c
index 6eb17cc1a06c..bcac7ebfb51f 100644
--- a/tools/mm/page-types.c
+++ b/tools/mm/page-types.c
@@ -420,7 +420,7 @@  static void show_page(unsigned long voffset, unsigned long offset,
 	if (opt_file)
 		printf("%lx\t", voffset);
 	if (opt_list_cgroup)
-		printf("@%" PRIu64 "\t", cgroup)
+		printf("@%" PRIu64 "\t", cgroup);
 	if (opt_list_mapcnt)
 		printf("%" PRIu64 "\t", mapcnt);