]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
src/libcgroup-internal.h: fix checkpatch.pl warnings
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Wed, 9 Mar 2022 13:58:31 +0000 (19:28 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 11 Mar 2022 14:46:21 +0000 (07:46 -0700)
commit4a6ef9d62ce3701fc7dd00ed9f560ca228c67504
tree1a49f0619acf4f51b1af71fa084e785f1f453001
parent1b5e69dcac447dfe015d207e1254a023d011ec1e
src/libcgroup-internal.h: fix checkpatch.pl warnings

Fix all 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: 5 errors, 2 warnings, 438 lines checked

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