summaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-11-20 17:11:45 +0200
committerKees Cook <keescook@chromium.org>2023-12-01 09:51:44 -0800
commita05f096c2c0ca52e8fd34740c7d4b53ab3e7123e (patch)
tree2b089a511b2d3cf1044f136cc8042a598c6a5351 /kernel/params.c
parent0fc79cbc937f2a754a302a710a94b68c61d0a89a (diff)
downloadlinux-a05f096c2c0ca52e8fd34740c7d4b53ab3e7123e.tar.gz
linux-a05f096c2c0ca52e8fd34740c7d4b53ab3e7123e.tar.bz2
linux-a05f096c2c0ca52e8fd34740c7d4b53ab3e7123e.zip
params: Sort headers
Sort the headers in alphabetic order in order to ease the maintenance for this part. Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231120151419.1661807-5-andriy.shevchenko@linux.intel.com Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'kernel/params.c')
-rw-r--r--kernel/params.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/params.c b/kernel/params.c
index c3a029fe183d..eb55b32399b4 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -3,18 +3,18 @@
Copyright (C) 2001 Rusty Russell.
*/
+#include <linux/ctype.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/kstrtox.h>
-#include <linux/string.h>
-#include <linux/errno.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
-#include <linux/device.h>
-#include <linux/err.h>
#include <linux/overflow.h>
-#include <linux/slab.h>
-#include <linux/ctype.h>
#include <linux/security.h>
+#include <linux/slab.h>
+#include <linux/string.h>
#ifdef CONFIG_SYSFS
/* Protects all built-in parameters, modules use their own param_lock */