diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-20 17:22:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-20 17:22:17 -0700 |
commit | 5bdd9ad875b6edf213f54ec3986ed9e8640c5cf9 (patch) | |
tree | 0496153c1130fca9cd835d8a2a0854d03ca4eace /scripts/modules-check.sh | |
parent | Merge tag 'for-5.2-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (diff) | |
parent | kbuild: do not check name uniqueness of builtin modules (diff) | |
download | linux-dev-5bdd9ad875b6edf213f54ec3986ed9e8640c5cf9.tar.xz linux-dev-5bdd9ad875b6edf213f54ec3986ed9e8640c5cf9.zip |
Merge tag 'kbuild-fixes-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild fixes from Masahiro Yamada:
- remove unused cc-ldoption
- do not check the name uniquness of builtin modules to avoid false
positives
* tag 'kbuild-fixes-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
kbuild: do not check name uniqueness of builtin modules
kbuild: drop support for cc-ldoption
Diffstat (limited to 'scripts/modules-check.sh')
-rwxr-xr-x | scripts/modules-check.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/modules-check.sh b/scripts/modules-check.sh index 2f659530e1ec..39e8cb36ba19 100755 --- a/scripts/modules-check.sh +++ b/scripts/modules-check.sh @@ -6,10 +6,10 @@ set -e # Check uniqueness of module names check_same_name_modules() { - for m in $(sed 's:.*/::' modules.order modules.builtin | sort | uniq -d) + for m in $(sed 's:.*/::' modules.order | sort | uniq -d) do - echo "warning: same basename if the following are built as modules:" >&2 - sed "/\/$m/!d;s:^kernel/: :" modules.order modules.builtin >&2 + echo "warning: same module names found:" >&2 + sed -n "/\/$m/s:^kernel/: :p" modules.order >&2 done } |