From f0f4889a74fbc1b8b8f4fd6189c989b58281e556 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Fri, 11 Aug 2023 12:25:04 +0530 Subject: [PATCH] samples/c/get_setup_mode.c: fix coding style complaint Fix the checkpatch.pl warnings, making it coding style complaint. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- samples/c/get_setup_mode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/c/get_setup_mode.c b/samples/c/get_setup_mode.c index e983f4fe..e6e100ac 100644 --- a/samples/c/get_setup_mode.c +++ b/samples/c/get_setup_mode.c @@ -5,7 +5,7 @@ * Author: Kamalesh Babulal * * Description: This file contains the sample code to demonstrate usage of - * cgroup_setup_mode() API. + * cgroup_setup_mode() API. */ #include @@ -25,7 +25,7 @@ int main(void) } setup_mode = cgroup_setup_mode(); - switch(setup_mode) { + switch (setup_mode) { case CGROUP_MODE_LEGACY: printf("cgroup mode: Legacy\n"); break; -- 2.47.2