linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] kbuild: move W=1 check for scripts/misc-check to top-level Makefile
@ 2025-05-31 18:28 Masahiro Yamada
  2025-05-31 18:28 ` [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h> Masahiro Yamada
  2025-05-31 18:28 ` [PATCH 3/3] scripts/misc-check: check unnecessary " Masahiro Yamada
  0 siblings, 2 replies; 5+ messages in thread
From: Masahiro Yamada @ 2025-05-31 18:28 UTC (permalink / raw)
  To: linux-kbuild
  Cc: linux-kernel, Masahiro Yamada, Nathan Chancellor, Nicolas Schier

This script is executed only when ${KBUILD_EXTRA_WARN} contains 1.
Move this check to the top-level Makefile to allow more checks to be
easily added to this script.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 Makefile           | 3 +++
 scripts/misc-check | 9 +--------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index 61f4e7662192..7a52be3a4b80 100644
--- a/Makefile
+++ b/Makefile
@@ -1824,9 +1824,12 @@ rustfmtcheck: rustfmt
 # Misc
 # ---------------------------------------------------------------------------
 
+# Run misc checks when ${KBUILD_EXTRA_WARN} contains 1
 PHONY += misc-check
+ifneq ($(findstring 1,$(KBUILD_EXTRA_WARN)),)
 misc-check:
 	$(Q)$(srctree)/scripts/misc-check
+endif
 
 all: misc-check
 
diff --git a/scripts/misc-check b/scripts/misc-check
index d40d5484e0c5..f37b2f6931cc 100755
--- a/scripts/misc-check
+++ b/scripts/misc-check
@@ -3,15 +3,8 @@
 
 set -e
 
-# Detect files that are tracked but ignored by git. This is checked only when
-# ${KBUILD_EXTRA_WARN} contains 1, git is installed, and the source tree is
-# tracked by git.
+# Detect files that are tracked but ignored by git.
 check_tracked_ignored_files () {
-	case "${KBUILD_EXTRA_WARN}" in
-	*1*) ;;
-	*) return;;
-	esac
-
 	git -C ${srctree:-.} ls-files -i -c --exclude-per-directory=.gitignore 2>/dev/null |
 		sed 's/$/: warning: ignored by one of the .gitignore files/' >&2
 }
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h>
  2025-05-31 18:28 [PATCH 1/3] kbuild: move W=1 check for scripts/misc-check to top-level Makefile Masahiro Yamada
@ 2025-05-31 18:28 ` Masahiro Yamada
  2025-06-01  7:27   ` kernel test robot
  2025-05-31 18:28 ` [PATCH 3/3] scripts/misc-check: check unnecessary " Masahiro Yamada
  1 sibling, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2025-05-31 18:28 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Masahiro Yamada

The problem was described in commit 5b20755b7780 ("init: move THIS_MODULE
from <linux/export.h> to <linux/init.h>").

To summarize it again here: <linux/export.h> is included by most C files,
even though only some of them actually export symbols. This is because
some headers, such as include/linux/{modules.h,linkage}, needlessly
include <linux/export.h>.

I have added a more detailed explanation in the comments of
scripts/misc-check.

This problem will be fixed in two steps:

 1. Add #include <linux/export.h> to C files that use EXPORT_SYMBOL()
 2. Remove #include <linux/export.h> from header files that do not use
    EXPORT_SYMBOL()

This commit addresses step 1; scripts/misc-check will warn about *.[ch]
files that use EXPORT_SYMBOL() but do not include <linux/export.h>.
This check is only triggered when the kernel is built with W=1.

We need to fix 4000+ files. I hope others will help with this effort.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/misc-check | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/scripts/misc-check b/scripts/misc-check
index f37b2f6931cc..9e618e9f93f6 100755
--- a/scripts/misc-check
+++ b/scripts/misc-check
@@ -9,4 +9,49 @@ check_tracked_ignored_files () {
 		sed 's/$/: warning: ignored by one of the .gitignore files/' >&2
 }
 
+# Check for missing #include <linux/export.h>
+#
+# The rule for including <linux/export.h> is very simple:
+# Include <linux/export.h> _only_ when you use EXPORT_SYMBOL(). That's it.
+#
+# However, some headers include <linux/export.h> even though they are completely
+# unrelated to EXPORT_SYMBOL().
+#
+# One example is include/linux/module.h. Please note <linux/module.h> and
+# <linux/export.h> are orthogonal. <linux/module.h> should be included by files
+# that can be compiled as modules. In other words, <linux/module.h> should be
+# included by EXPORT_SYMBOL _consumers_. In contrast, <linux/export.h> should be
+# included from EXPORT_SYMBOL _providers_, which may or may not be modular.
+# Hence, include/linux/module.h should *not* include <linux/export.h>.
+#
+# Another example is include/linux/linkage.h, which is completely unrelated to
+# EXPORT_SYMBOL(). Worse, it is included by most C files, which means, most of
+# C files end up including <linux/export.h>, even though only some of them
+# actually export symbols. Hence, include/linux/linkage.h should *not* include
+# <linux/export.h>.
+#
+# Before fixing such headers, we must ensure that C files using EXPORT_SYMBOL()
+# include <linux/export.h> directly, since many C files currently rely on
+# <linux/export.h> being included indirectly (likely, via <linux/modules.h>,
+# <linux/linkage> etc.).
+#
+# Therefore, this check.
+#
+# The problem is simple - the warned files use EXPORT_SYMBOL(), but fail to
+# include <linux/export.h>.
+# The fix is also simple: add #include <linux/export.h> to the warned files.
+#
+# If the included headers are sorted alphabetically, please insert
+# <linux/export.h> in the correct position to maintain the sort order.
+# For this reason, this script only checks missing <linux/export.h>, but
+# does not automatically fix it.
+check_missing_include_linux_export_h () {
+
+	git -C ${srctree:-.} grep --files-with-matches -E 'EXPORT_SYMBOL((_NS)?(_GPL)?|_GPL_FOR_MODULES)\(.*\)' \
+	    -- '*.[ch]' :^tools/ :^include/linux/export.h |
+	xargs grep --files-without-match '#include[[:space:]]*<linux/export\.h>' |
+	xargs printf "%s: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing\n" >&2
+}
+
 check_tracked_ignored_files
+check_missing_include_linux_export_h
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] scripts/misc-check: check unnecessary #include <linux/export.h>
  2025-05-31 18:28 [PATCH 1/3] kbuild: move W=1 check for scripts/misc-check to top-level Makefile Masahiro Yamada
  2025-05-31 18:28 ` [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h> Masahiro Yamada
@ 2025-05-31 18:28 ` Masahiro Yamada
  2025-06-01  9:19   ` kernel test robot
  1 sibling, 1 reply; 5+ messages in thread
From: Masahiro Yamada @ 2025-05-31 18:28 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Masahiro Yamada

Another issue with <linux/export.h> is that it is sometimes included
even when EXPORT_SYMBOL() is not used at all.

Some headers (e.g. include/linux/linkage.h>) cannot be fixed for now
for the reason described in the previous commit.

This commit adds a warning for *.c files that include <linux/export.h>
but do not use EXPORT_SYMBOL().

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/misc-check | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/scripts/misc-check b/scripts/misc-check
index 9e618e9f93f6..e280ccab6391 100755
--- a/scripts/misc-check
+++ b/scripts/misc-check
@@ -53,5 +53,17 @@ check_missing_include_linux_export_h () {
 	xargs printf "%s: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing\n" >&2
 }
 
+# If you do not use EXPORT_SYMBOL(), please do not include <linux/export.h>.
+# Currently, this is checked for *.c files, but not for *.h files, because some
+# *.c files rely on <linux/export.h> being included indirectly.
+check_unnecessary_include_linux_export_h () {
+
+	git -C ${srctree:-.} grep --files-with-matches '#include[[:space:]]*<linux/export\.h>' \
+	    -- '*.[c]' :^tools/ |
+	xargs grep --files-without-match -E 'EXPORT_SYMBOL((_NS)?(_GPL)?|_GPL_FOR_MODULES)\(.*\)' |
+	xargs printf "%s: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present\n" >&2
+}
+
 check_tracked_ignored_files
 check_missing_include_linux_export_h
+check_unnecessary_include_linux_export_h
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h>
  2025-05-31 18:28 ` [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h> Masahiro Yamada
@ 2025-06-01  7:27   ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-06-01  7:27 UTC (permalink / raw)
  To: Masahiro Yamada, linux-kbuild
  Cc: oe-kbuild-all, linux-kernel, Masahiro Yamada

Hi Masahiro,

kernel test robot noticed the following build errors:

[auto build test ERROR on masahiroy-kbuild/for-next]
[also build test ERROR on masahiroy-kbuild/fixes linus/master v6.15 next-20250530]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Masahiro-Yamada/scripts-misc-check-check-missing-include-linux-export-h/20250601-023341
base:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
patch link:    https://lore.kernel.org/r/20250531183217.3844357-2-masahiroy%40kernel.org
patch subject: [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h>
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20250601/202506011554.4QOxHuBb-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250601/202506011554.4QOxHuBb-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506011554.4QOxHuBb-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> grep: arch/alpha/kernel/core_irongate.c: No such file or directory
>> grep: arch/alpha/kernel/core_marvel.c: No such file or directory
>> grep: arch/alpha/kernel/core_titan.c: No such file or directory
>> grep: arch/alpha/kernel/core_tsunami.c: No such file or directory
>> grep: arch/alpha/kernel/io.c: No such file or directory
>> grep: arch/alpha/kernel/irq_alpha.c: No such file or directory
>> grep: arch/alpha/kernel/machvec_impl.h: No such file or directory
>> grep: arch/alpha/kernel/pci.c: No such file or directory
>> grep: arch/alpha/kernel/pci_iommu.c: No such file or directory
>> grep: arch/alpha/kernel/process.c: No such file or directory
>> grep: arch/alpha/kernel/setup.c: No such file or directory
>> grep: arch/alpha/kernel/smp.c: No such file or directory
>> grep: arch/alpha/kernel/time.c: No such file or directory
>> grep: arch/alpha/kernel/traps.c: No such file or directory
>> grep: arch/alpha/lib/checksum.c: No such file or directory
>> grep: arch/alpha/lib/csum_partial_copy.c: No such file or directory
>> grep: arch/alpha/lib/fls.c: No such file or directory
>> grep: arch/alpha/lib/fpreg.c: No such file or directory
>> grep: arch/alpha/lib/memcpy.c: No such file or directory
>> grep: arch/alpha/lib/udelay.c: No such file or directory
   grep: arch/arc/kernel/arcksyms.c: No such file or directory
   grep: arch/arc/kernel/intc-compact.c: No such file or directory
   grep: arch/arc/kernel/process.c: No such file or directory
   grep: arch/arc/kernel/reset.c: No such file or directory
   grep: arch/arc/kernel/smp.c: No such file or directory
   grep: arch/arc/kernel/stacktrace.c: No such file or directory
   grep: arch/arc/kernel/unwind.c: No such file or directory
   grep: arch/arc/mm/cache.c: No such file or directory
   grep: arch/arc/mm/init.c: No such file or directory
   grep: arch/arc/mm/ioremap.c: No such file or directory
   grep: arch/arm/common/bL_switcher.c: No such file or directory
   grep: arch/arm/common/krait-l2-accessors.c: No such file or directory
   grep: arch/arm/common/locomo.c: No such file or directory
   grep: arch/arm/common/mcpm_entry.c: No such file or directory
   grep: arch/arm/common/sa1111.c: No such file or directory
   grep: arch/arm/common/scoop.c: No such file or directory
   grep: arch/arm/common/sharpsl_param.c: No such file or directory
   grep: arch/arm/crypto/aes-cipher-glue.c: No such file or directory
   grep: arch/arm/crypto/blake2s-glue.c: No such file or directory
   grep: arch/arm/crypto/chacha-glue.c: No such file or directory
   grep: arch/arm/crypto/curve25519-glue.c: No such file or directory
   grep: arch/arm/crypto/poly1305-glue.c: No such file or directory
   grep: arch/arm/crypto/sha1_glue.c: No such file or directory
   grep: arch/arm/crypto/sha256_glue.c: No such file or directory
   grep: arch/arm/kernel/armksyms.c: No such file or directory
   grep: arch/arm/kernel/bios32.c: No such file or directory
   grep: arch/arm/kernel/cacheinfo.c: No such file or directory
   grep: arch/arm/kernel/dma.c: No such file or directory
   grep: arch/arm/kernel/elf.c: No such file or directory
   grep: arch/arm/kernel/fiq.c: No such file or directory
   grep: arch/arm/kernel/io.c: No such file or directory
   grep: arch/arm/kernel/opcodes.c: No such file or directory
   grep: arch/arm/kernel/process.c: No such file or directory
   grep: arch/arm/kernel/reboot.c: No such file or directory
   grep: arch/arm/kernel/return_address.c: No such file or directory
   grep: arch/arm/kernel/setup.c: No such file or directory
   grep: arch/arm/kernel/stacktrace.c: No such file or directory
   grep: arch/arm/kernel/tcm.c: No such file or directory
   grep: arch/arm/kernel/time.c: No such file or directory
   grep: arch/arm/kernel/traps.c: No such file or directory
   grep: arch/arm/kernel/unwind.c: No such file or directory
   grep: arch/arm/lib/crc-t10dif-glue.c: No such file or directory
   grep: arch/arm/lib/crc32-glue.c: No such file or directory
   grep: arch/arm/lib/delay.c: No such file or directory
   grep: arch/arm/lib/xor-neon.c: No such file or directory
   grep: arch/arm/mach-at91/pm.c: No such file or directory
   grep: arch/arm/mach-davinci/common.c: No such file or directory
   grep: arch/arm/mach-davinci/sram.c: No such file or directory
   grep: arch/arm/mach-footbridge/common.c: No such file or directory
   grep: arch/arm/mach-footbridge/netwinder-hw.c: No such file or directory
   grep: arch/arm/mach-imx/cpu-imx25.c: No such file or directory
   grep: arch/arm/mach-imx/cpu-imx27.c: No such file or directory
   grep: arch/arm/mach-imx/cpu-imx31.c: No such file or directory
   grep: arch/arm/mach-imx/cpu-imx35.c: No such file or directory
   grep: arch/arm/mach-imx/cpu-imx5.c: No such file or directory
   grep: arch/arm/mach-imx/cpuidle-imx6q.c: No such file or directory
   grep: arch/arm/mach-imx/irq-common.c: No such file or directory
   grep: arch/arm/mach-imx/ssi-fiq-ksym.c: No such file or directory
   grep: arch/arm/mach-lpc32xx/common.c: No such file or directory
   grep: arch/arm/mach-lpc32xx/serial.c: No such file or directory
   grep: arch/arm/mach-mmp/common.c: No such file or directory
   grep: arch/arm/mach-omap1/board-sx1.c: No such file or directory
   grep: arch/arm/mach-omap1/id.c: No such file or directory
   grep: arch/arm/mach-omap1/io.c: No such file or directory
   grep: arch/arm/mach-omap1/mux.c: No such file or directory
   grep: arch/arm/mach-omap1/ocpi.c: No such file or directory
   grep: arch/arm/mach-omap1/omap-dma.c: No such file or directory
   grep: arch/arm/mach-omap2/id.c: No such file or directory
   grep: arch/arm/mach-pxa/generic.c: No such file or directory
   grep: arch/arm/mach-pxa/pm.c: No such file or directory
   grep: arch/arm/mach-pxa/pxa27x.c: No such file or directory
   grep: arch/arm/mach-rpc/ecard.c: No such file or directory
   grep: arch/arm/mach-s3c/dev-audio-s3c64xx.c: No such file or directory
   grep: arch/arm/mach-s3c/gpio-samsung.c: No such file or directory
   grep: arch/arm/mach-sa1100/assabet.c: No such file or directory
   grep: arch/arm/mach-sa1100/jornada720_ssp.c: No such file or directory
   grep: arch/arm/mach-sa1100/neponset.c: No such file or directory
   grep: arch/arm/mach-sa1100/ssp.c: No such file or directory
   grep: arch/arm/mach-zynq/platsmp.c: No such file or directory
   grep: arch/arm/mm/dma-mapping.c: No such file or directory
   grep: arch/arm/mm/flush.c: No such file or directory
   grep: arch/arm/mm/init.c: No such file or directory
   grep: arch/arm/mm/iomap.c: No such file or directory
   grep: arch/arm/mm/ioremap.c: No such file or directory
   grep: arch/arm/mm/mmu.c: No such file or directory
   grep: arch/arm/mm/nommu.c: No such file or directory
   grep: arch/arm/mm/physaddr.c: No such file or directory
   grep: arch/arm/mm/proc-syms.c: No such file or directory
   grep: arch/arm/plat-orion/gpio.c: No such file or directory
   grep: arch/arm/probes/decode-arm.c: No such file or directory
   grep: arch/arm/probes/decode-thumb.c: No such file or directory
   grep: arch/arm/vfp/vfpmodule.c: No such file or directory
   grep: arch/arm/xen/enlighten.c: No such file or directory
   grep: arch/arm/xen/p2m.c: No such file or directory
   grep: arch/arm64/crypto/aes-ce-glue.c: No such file or directory
   grep: arch/arm64/crypto/aes-glue.c: No such file or directory
   grep: arch/arm64/crypto/chacha-neon-glue.c: No such file or directory
   grep: arch/arm64/crypto/poly1305-glue.c: No such file or directory
   grep: arch/arm64/crypto/sha256-glue.c: No such file or directory
   grep: arch/arm64/crypto/sha512-glue.c: No such file or directory

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 3/3] scripts/misc-check: check unnecessary #include <linux/export.h>
  2025-05-31 18:28 ` [PATCH 3/3] scripts/misc-check: check unnecessary " Masahiro Yamada
@ 2025-06-01  9:19   ` kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-06-01  9:19 UTC (permalink / raw)
  To: Masahiro Yamada, linux-kbuild
  Cc: oe-kbuild-all, linux-kernel, Masahiro Yamada

Hi Masahiro,

kernel test robot noticed the following build warnings:

[auto build test WARNING on masahiroy-kbuild/for-next]
[also build test WARNING on masahiroy-kbuild/fixes linus/master v6.15 next-20250530]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Masahiro-Yamada/scripts-misc-check-check-missing-include-linux-export-h/20250601-023341
base:   https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next
patch link:    https://lore.kernel.org/r/20250531183217.3844357-3-masahiroy%40kernel.org
patch subject: [PATCH 3/3] scripts/misc-check: check unnecessary #include <linux/export.h>
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20250601/202506011712.L8Jfbz6T-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250601/202506011712.L8Jfbz6T-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506011712.L8Jfbz6T-lkp@intel.com/

All warnings (new ones prefixed by >>):

   grep: net/wireless/util.c: No such file or directory
   grep: net/wireless/wext-compat.c: No such file or directory
   grep: net/wireless/wext-core.c: No such file or directory
   grep: net/wireless/wext-sme.c: No such file or directory
   grep: net/x25/x25_proc.c: No such file or directory
   grep: net/xfrm/xfrm_proc.c: No such file or directory
   grep: net/xfrm/xfrm_replay.c: No such file or directory
   grep: rust/exports.c: No such file or directory
   grep: security/integrity/evm/evm_crypto.c: No such file or directory
   grep: security/integrity/ima/ima_mok.c: No such file or directory
   grep: security/integrity/platform_certs/platform_keyring.c: No such file or directory
   grep: security/keys/encrypted-keys/ecryptfs_format.c: No such file or directory
   grep: security/keys/key.c: No such file or directory
   grep: security/keys/keyring.c: No such file or directory
   grep: security/keys/permission.c: No such file or directory
   grep: security/keys/request_key.c: No such file or directory
   grep: security/keys/user_defined.c: No such file or directory
   grep: security/lockdown/lockdown.c: No such file or directory
   grep: security/security.c: No such file or directory
   grep: security/selinux/hooks.c: No such file or directory
   grep: security/selinux/netlink.c: No such file or directory
   grep: sound/core/ctljack.c: No such file or directory
   grep: sound/core/device.c: No such file or directory
   grep: sound/core/info_oss.c: No such file or directory
   grep: sound/core/isadma.c: No such file or directory
   grep: sound/core/memory.c: No such file or directory
   grep: sound/core/misc.c: No such file or directory
   grep: sound/core/pcm_drm_eld.c: No such file or directory
   grep: sound/core/pcm_iec958.c: No such file or directory
   grep: sound/core/pcm_lib.c: No such file or directory
   grep: sound/core/pcm_memory.c: No such file or directory
   grep: sound/core/pcm_misc.c: No such file or directory
   grep: sound/core/seq/oss/seq_oss_init.c: No such file or directory
   grep: sound/core/seq/seq_clientmgr.c: No such file or directory
   grep: sound/core/seq/seq_info.c: No such file or directory
   grep: sound/core/seq/seq_lock.c: No such file or directory
   grep: sound/core/seq/seq_memory.c: No such file or directory
   grep: sound/core/seq/seq_system.c: No such file or directory
   grep: sound/core/sound_oss.c: No such file or directory
   grep: sound/core/ump.c: No such file or directory
   grep: sound/core/ump_convert.c: No such file or directory
   grep: sound/core/vmaster.c: No such file or directory
   grep: sound/drivers/opl3/opl3_oss.c: No such file or directory
   grep: sound/drivers/opl3/opl3_synth.c: No such file or directory
   grep: sound/drivers/opl4/opl4_proc.c: No such file or directory
   grep: sound/firewire/iso-resources.c: No such file or directory
   grep: sound/firewire/packets-buffer.c: No such file or directory
   grep: sound/hda/hda_bus_type.c: No such file or directory
   grep: sound/hda/hdac_bus.c: No such file or directory
   grep: sound/hda/hdac_controller.c: No such file or directory
   grep: sound/hda/hdac_device.c: No such file or directory
   grep: sound/hda/hdac_regmap.c: No such file or directory
   grep: sound/hda/hdac_stream.c: No such file or directory
   grep: sound/hda/intel-sdw-acpi.c: No such file or directory
   grep: sound/isa/gus/gus_volume.c: No such file or directory
   grep: sound/isa/msnd/msnd_midi.c: No such file or directory
   grep: sound/isa/msnd/msnd_pinnacle_mixer.c: No such file or directory
   grep: sound/isa/sb/emu8000.c: No such file or directory
   grep: sound/isa/sb/emu8000_callback.c: No such file or directory
   grep: sound/pci/ac97/ac97_pcm.c: No such file or directory
   grep: sound/pci/au88x0/au88x0_game.c: No such file or directory
   grep: sound/pci/cs46xx/cs46xx_lib.c: No such file or directory
   grep: sound/pci/emu10k1/emu10k1_callback.c: No such file or directory
   grep: sound/pci/emu10k1/io.c: No such file or directory
   grep: sound/pci/emu10k1/memory.c: No such file or directory
   grep: sound/pci/emu10k1/voice.c: No such file or directory
   grep: sound/pci/hda/hda_auto_parser.c: No such file or directory
   grep: sound/pci/hda/hda_beep.c: No such file or directory
   grep: sound/pci/hda/hda_bind.c: No such file or directory
   grep: sound/pci/hda/hda_generic.c: No such file or directory
   grep: sound/pci/hda/hda_jack.c: No such file or directory
   grep: sound/pci/hda/hda_sysfs.c: No such file or directory
   grep: sound/pci/oxygen/oxygen_io.c: No such file or directory
   grep: sound/pci/trident/trident_main.c: No such file or directory
   grep: sound/soc/amd/acp/acp-legacy-common.c: No such file or directory
   grep: sound/soc/amd/acp/amd-sdw-acpi.c: No such file or directory
   grep: sound/soc/amd/ps/ps-common.c: No such file or directory
   grep: sound/soc/atmel/sam9x5_wm8731.c: No such file or directory
   grep: sound/soc/codecs/lpass-macro-common.c: No such file or directory
   grep: sound/soc/codecs/sigmadsp-i2c.c: No such file or directory
   grep: sound/soc/codecs/sigmadsp-regmap.c: No such file or directory
   grep: sound/soc/codecs/wm5100.c: No such file or directory
   grep: sound/soc/qcom/lpass-cdc-dma.c: No such file or directory
   grep: sound/soc/qcom/lpass-platform.c: No such file or directory
   grep: sound/soc/soc-ac97.c: No such file or directory
   grep: sound/soc/soc-acpi.c: No such file or directory
   grep: sound/soc/soc-jack.c: No such file or directory
   grep: sound/soc/soc-pcm.c: No such file or directory
   grep: sound/soc/soc-topology.c: No such file or directory
   grep: sound/soc/soc-utils.c: No such file or directory
   grep: sound/soc/sof/intel/icl.c: No such file or directory
   grep: sound/soc/sof/stream-ipc.c: No such file or directory
   grep: sound/soc/tegra/tegra_asoc_machine.c: No such file or directory
   grep: sound/synth/emux/emux_oss.c: No such file or directory
   grep: sound/synth/emux/emux_synth.c: No such file or directory
   grep: sound/synth/emux/soundfont.c: No such file or directory
   grep: sound/usb/line6/driver.c: No such file or directory
   grep: sound/usb/line6/midi.c: No such file or directory
   grep: sound/usb/line6/pcm.c: No such file or directory
   grep: virt/kvm/irqchip.c: No such file or directory
>> : warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-06-01  9:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-31 18:28 [PATCH 1/3] kbuild: move W=1 check for scripts/misc-check to top-level Makefile Masahiro Yamada
2025-05-31 18:28 ` [PATCH 2/3] scripts/misc-check: check missing #include <linux/export.h> Masahiro Yamada
2025-06-01  7:27   ` kernel test robot
2025-05-31 18:28 ` [PATCH 3/3] scripts/misc-check: check unnecessary " Masahiro Yamada
2025-06-01  9:19   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).