summaryrefslogtreecommitdiff
path: root/scripts/misc-check
diff options
context:
space:
mode:
authorUwe Kleine-König <ukleinek@kernel.org>2025-07-09 10:48:21 +0200
committerUwe Kleine-König <ukleinek@kernel.org>2025-07-09 10:48:21 +0200
commit2b2aeaa12c804e52f2ba635899f2b7f2d4623874 (patch)
tree4b7f9abb6af166b70ab177ab0458b8984f005ee2 /scripts/misc-check
parentedd3bcb1801e1bb98f4f81485140e18c86406ced (diff)
parentcd4da713f99651e99fbce8ed6b6ec8f686c029a8 (diff)
Merge tag 'pm-runtime-6.17-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Runtime PM updates related to autosuspend for 6.17 Make several autosuspend functions mark last busy stamp and update the documentation accordingly (Sakari Ailus).
Diffstat (limited to 'scripts/misc-check')
-rwxr-xr-xscripts/misc-check15
1 files changed, 12 insertions, 3 deletions
diff --git a/scripts/misc-check b/scripts/misc-check
index a74450e799d1..84f08da17b2c 100755
--- a/scripts/misc-check
+++ b/scripts/misc-check
@@ -62,6 +62,15 @@ check_unnecessary_include_linux_export_h () {
xargs -r 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
+case "${KBUILD_EXTRA_WARN}" in
+*1*)
+ check_tracked_ignored_files
+ ;;
+esac
+
+case "${KBUILD_EXTRA_WARN}" in
+*2*)
+ check_missing_include_linux_export_h
+ check_unnecessary_include_linux_export_h
+ ;;
+esac