Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fsverity: Explicitly include <linux/export.h>

Fix build warnings with W=1 that started appearing after
commit a934a57a42f6 ("scripts/misc-check: check missing #include
<linux/export.h> when W=1").

Link: https://lore.kernel.org/r/20250614221723.131827-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>

+5
+1
fs/verity/enable.c
··· 8 8 #include "fsverity_private.h" 9 9 10 10 #include <crypto/hash.h> 11 + #include <linux/export.h> 11 12 #include <linux/mount.h> 12 13 #include <linux/sched/signal.h> 13 14 #include <linux/uaccess.h>
+1
fs/verity/measure.c
··· 9 9 10 10 #include <linux/bpf.h> 11 11 #include <linux/btf.h> 12 + #include <linux/export.h> 12 13 #include <linux/uaccess.h> 13 14 14 15 /**
+1
fs/verity/open.c
··· 7 7 8 8 #include "fsverity_private.h" 9 9 10 + #include <linux/export.h> 10 11 #include <linux/mm.h> 11 12 #include <linux/slab.h> 12 13
+1
fs/verity/read_metadata.c
··· 8 8 #include "fsverity_private.h" 9 9 10 10 #include <linux/backing-dev.h> 11 + #include <linux/export.h> 11 12 #include <linux/highmem.h> 12 13 #include <linux/sched/signal.h> 13 14 #include <linux/uaccess.h>
+1
fs/verity/verify.c
··· 9 9 10 10 #include <crypto/hash.h> 11 11 #include <linux/bio.h> 12 + #include <linux/export.h> 12 13 13 14 static struct workqueue_struct *fsverity_read_workqueue; 14 15