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

Configure Feed

Select the types of activity you want to include in your feed.

lib: glob: add explicit include for export.h

Include <linux/export.h> explicitly instead of relying on it being
implicitly included by <linux/module.h> for the EXPORT_SYMBOL macro.

Link: https://lkml.kernel.org/r/20260301152143.2572137-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Josh Law and committed by
Andrew Morton
f5e74cbd 3a1c3be1

+1
+1
lib/glob.c
··· 1 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 2 #include <linux/module.h> 3 3 #include <linux/glob.h> 4 + #include <linux/export.h> 4 5 5 6 /* 6 7 * The only reason this code can be compiled as a module is because the