]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
samples/proctest.c: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 16 Mar 2022 16:05:16 +0000 (21:35 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 16 Mar 2022 21:38:20 +0000 (15:38 -0600)
commit3501d8ceed29f3d50dc780486c12cf2433062885
tree928fd9aa98c61f24674cb01b93f418aa7e50dfc6
parent2df271ad03adc72e1277f63e5e0b5e5fe90c2d2c
samples/proctest.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:
0 errors, 1 warnings, 55 lines checked

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