summaryrefslogtreecommitdiff
path: root/security/loadpin
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2025-12-15 03:51:56 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-01-21 06:44:19 +0300
commit24c776355f4097316a763005434ffff716aa21a8 (patch)
tree86b46217929d6d4f06abba4a84343ad3afe6cbd6 /security/loadpin
parent6dcd539f062d89127cb3a84a7da373a9bd28ba7b (diff)
downloadlinux-24c776355f4097316a763005434ffff716aa21a8.tar.xz
kernel.h: drop hex.h and update all hex.h users
Remove <linux/hex.h> from <linux/kernel.h> and update all users/callers of hex.h interfaces to directly #include <linux/hex.h> as part of the process of putting kernel.h on a diet. Removing hex.h from kernel.h means that 36K C source files don't have to pay the price of parsing hex.h for the roughly 120 C source files that need it. This change has been build-tested with allmodconfig on most ARCHes. Also, all users/callers of <linux/hex.h> in the entire source tree have been updated if needed (if not already #included). Link: https://lkml.kernel.org/r/20251215005206.2362276-1-rdunlap@infradead.org Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Yury Norov (NVIDIA) <yury.norov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'security/loadpin')
-rw-r--r--security/loadpin/loadpin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/loadpin/loadpin.c b/security/loadpin/loadpin.c
index 273ffbd6defe..019840006096 100644
--- a/security/loadpin/loadpin.c
+++ b/security/loadpin/loadpin.c
@@ -11,6 +11,7 @@
#include <linux/module.h>
#include <linux/fs.h>
+#include <linux/hex.h>
#include <linux/kernel_read_file.h>
#include <linux/lsm_hooks.h>
#include <linux/mount.h>