]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
samples/wrapper_test.c: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 16 Mar 2022 16:14:20 +0000 (21:44 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Mar 2022 21:38:20 +0000 (15:38 -0600)
commitb2b48ff53f454237f5bd7662c74b9b099dc15642
treef39544b1d073b67a5b96f38c8aa46aa4bc4adf69
parentdd78ba4648cdb0e3e411f6a2bf20a21e222ca658
samples/wrapper_test.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, 44 lines checked

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