diff options
| author | Masahiro Yamada <[email protected]> | 2025-06-01 13:31:30 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2025-06-05 20:40:25 +0000 |
| commit | 7d95680d64ac8e836c35fd56efe77eac4e9cc26b (patch) | |
| tree | c7a71abbe99b7be29156dd2e9ec2743781261cfa /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | scripts/misc-check: check missing #include <linux/export.h> when W=1 (diff) | |
| download | kernel-7d95680d64ac8e836c35fd56efe77eac4e9cc26b.tar.gz kernel-7d95680d64ac8e836c35fd56efe77eac4e9cc26b.zip | |
scripts/misc-check: check unnecessary #include <linux/export.h> when W=1
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() when the kernel is built with W=1.
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
