]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
samples/test_named_hierarchy.c: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 16 Mar 2022 16:09:07 +0000 (21:39 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Mar 2022 21:38:20 +0000 (15:38 -0600)
commitb007e8a894b0df4e1eb3d03be37483476571af17
tree24313998c49de22d862bfca28e48f74370b48971
parentfbbaec0e5d6bd46b9022560e00b1a1f1673d83ad
samples/test_named_hierarchy.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, 47 lines checked

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