]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
src/config.c: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 9 Mar 2022 07:54:35 +0000 (13:24 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 11 Mar 2022 14:46:21 +0000 (07:46 -0700)
commit45eb07af244dd45ef86f4335aadfd0a2b86024db
tree035ef56374f7dc3ea4508f0ffb347e9fd737476f
parent4a6ef9d62ce3701fc7dd00ed9f560ca228c67504
src/config.c: fix checkpatch.pl warnings

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

In summary, this patch fixes the following checkpatch.pl
recommendations:
total: 4 errors, 36 warnings, 1899 lines checked

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