]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
samples/get_mount_point.c: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 16 Mar 2022 15:57:25 +0000 (21:27 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Mar 2022 21:38:20 +0000 (15:38 -0600)
commitddac1f48710ba4161e46b328d004587918697dcd
tree7ce4004511a51e4338f92ec19b7a4dcf6789a008
parent556ebdbf4a72d8d362d4f1b67389d227ad05ab8c
samples/get_mount_point.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, 1 warnings, 49 lines checked

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