]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
samples/get_controller.c: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 16 Mar 2022 15:55:22 +0000 (21:25 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Mar 2022 21:38:20 +0000 (15:38 -0600)
commit556ebdbf4a72d8d362d4f1b67389d227ad05ab8c
tree1127c5b1dffb335d3ba7e2ead48fbbb2f9e09077
parent412a52ed69b3d3db52984dfc7fb3e8bd7d1a8070
samples/get_controller.c: fix checkpatch.pl warnings

Fix all of the warnings/errors reported by Linux Kernel's checkpatch.pl,
except SPDX_LICENSE_TAG.  It also introduces reverse xmas tree local
variable declarations and header file reordering.

In summary, this patch fixes the following checkpatch.pl
recommendations:
total: 1 errors, 0 warnings, 34 lines checked

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
samples/c/get_controller.c