From: Kamalesh Babulal Date: Wed, 16 Mar 2022 16:16:04 +0000 (+0530) Subject: include/init.h: fix checkpatch.pl warnings X-Git-Tag: v3.0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72e7797975417ac427f822017c19825564671295;p=thirdparty%2Flibcgroup.git include/init.h: fix checkpatch.pl warnings This patch introduces coding style changes such as reverse xmas tree local variable declarations, header file reordering, and many other minor tweaks such as line spacing, removing trailing white spaces. In summary, this patch fixes the following checkpatch.pl recommendations: total: 0 errors, 1 warnings, 86 lines checked Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/include/libcgroup/init.h.in b/include/libcgroup/init.h.in index 9c63e684..1e1323de 100644 --- a/include/libcgroup/init.h.in +++ b/include/libcgroup/init.h.in @@ -71,7 +71,7 @@ int cgroup_init(void); * and cgroup_get_subsys_mount_point_end() to get all of them. * @param controller Name of the controller * @param mount_point The string where the mount point location is stored. - * Please note, the caller must free the mount_point. + * Please note, the caller must free the mount_point. */ int cgroup_get_subsys_mount_point(const char *controller, char **mount_point);