diff options
author | Ingo Molnar <mingo@kernel.org> | 2018-07-17 03:31:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-07-17 03:31:30 -0400 |
commit | 37c45b2354cb2270f246679bedd8bf798cca351c (patch) | |
tree | 113dbc1a94cc8e106b98c5d00105c91bd6623419 /scripts | |
parent | 5e0fb5df2ee871b841f96f9cb6a7f2784e96aa4e (diff) | |
parent | 9d3cce1e8b8561fed5f383d22a4d6949db4eadbe (diff) |
Merge tag 'v4.18-rc5' into x86/mm, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 2 | ||||
-rw-r--r-- | scripts/Makefile.build | 3 | ||||
-rw-r--r-- | scripts/Makefile.clean | 3 | ||||
-rw-r--r-- | scripts/Makefile.modbuiltin | 4 | ||||
-rw-r--r-- | scripts/Makefile.modinst | 4 | ||||
-rw-r--r-- | scripts/Makefile.modpost | 4 | ||||
-rw-r--r-- | scripts/Makefile.modsign | 3 | ||||
-rwxr-xr-x | scripts/cc-can-link.sh | 2 | ||||
-rwxr-xr-x | scripts/checkpatch.pl | 6 | ||||
-rwxr-xr-x | scripts/extract-vmlinux | 2 | ||||
-rwxr-xr-x | scripts/tags.sh | 2 |
11 files changed, 8 insertions, 27 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index c8156d61678c..86321f06461e 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -214,7 +214,7 @@ hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj | |||
214 | # Prefix -I with $(srctree) if it is not an absolute path. | 214 | # Prefix -I with $(srctree) if it is not an absolute path. |
215 | # skip if -I has no parameter | 215 | # skip if -I has no parameter |
216 | addtree = $(if $(patsubst -I%,%,$(1)), \ | 216 | addtree = $(if $(patsubst -I%,%,$(1)), \ |
217 | $(if $(filter-out -I/% -I./% -I../%,$(1)),$(patsubst -I%,-I$(srctree)/%,$(1)),$(1))) | 217 | $(if $(filter-out -I/% -I./% -I../%,$(1)),$(patsubst -I%,-I$(srctree)/%,$(1)),$(1)),$(1)) |
218 | 218 | ||
219 | # Find all -I options and call addtree | 219 | # Find all -I options and call addtree |
220 | flags = $(foreach o,$($(1)),$(if $(filter -I%,$(o)),$(call addtree,$(o)),$(o))) | 220 | flags = $(foreach o,$($(1)),$(if $(filter -I%,$(o)),$(call addtree,$(o)),$(o))) |
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index e7889f486ca1..514ed63ff571 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -590,7 +590,4 @@ endif | |||
590 | # We never want them to be removed automatically. | 590 | # We never want them to be removed automatically. |
591 | .SECONDARY: $(targets) | 591 | .SECONDARY: $(targets) |
592 | 592 | ||
593 | # Declare the contents of the .PHONY variable as phony. We keep that | ||
594 | # information in a variable se we can use it in if_changed and friends. | ||
595 | |||
596 | .PHONY: $(PHONY) | 593 | .PHONY: $(PHONY) |
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 808d09f27ad4..17ef94c635cd 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean | |||
@@ -88,7 +88,4 @@ PHONY += $(subdir-ymn) | |||
88 | $(subdir-ymn): | 88 | $(subdir-ymn): |
89 | $(Q)$(MAKE) $(clean)=$@ | 89 | $(Q)$(MAKE) $(clean)=$@ |
90 | 90 | ||
91 | # Declare the contents of the .PHONY variable as phony. We keep that | ||
92 | # information in a variable se we can use it in if_changed and friends. | ||
93 | |||
94 | .PHONY: $(PHONY) | 91 | .PHONY: $(PHONY) |
diff --git a/scripts/Makefile.modbuiltin b/scripts/Makefile.modbuiltin index a763b4775d06..40867a41615b 100644 --- a/scripts/Makefile.modbuiltin +++ b/scripts/Makefile.modbuiltin | |||
@@ -54,8 +54,4 @@ PHONY += $(subdir-ym) | |||
54 | $(subdir-ym): | 54 | $(subdir-ym): |
55 | $(Q)$(MAKE) $(modbuiltin)=$@ | 55 | $(Q)$(MAKE) $(modbuiltin)=$@ |
56 | 56 | ||
57 | |||
58 | # Declare the contents of the .PHONY variable as phony. We keep that | ||
59 | # information in a variable se we can use it in if_changed and friends. | ||
60 | |||
61 | .PHONY: $(PHONY) | 57 | .PHONY: $(PHONY) |
diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst index 51ca0244fc8a..ff5ca9817a85 100644 --- a/scripts/Makefile.modinst +++ b/scripts/Makefile.modinst | |||
@@ -35,8 +35,4 @@ modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D)) | |||
35 | $(modules): | 35 | $(modules): |
36 | $(call cmd,modules_install,$(MODLIB)/$(modinst_dir)) | 36 | $(call cmd,modules_install,$(MODLIB)/$(modinst_dir)) |
37 | 37 | ||
38 | |||
39 | # Declare the contents of the .PHONY variable as phony. We keep that | ||
40 | # information in a variable so we can use it in if_changed and friends. | ||
41 | |||
42 | .PHONY: $(PHONY) | 38 | .PHONY: $(PHONY) |
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index df4174405feb..dd92dbbbaa68 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost | |||
@@ -149,8 +149,4 @@ ifneq ($(cmd_files),) | |||
149 | include $(cmd_files) | 149 | include $(cmd_files) |
150 | endif | 150 | endif |
151 | 151 | ||
152 | |||
153 | # Declare the contents of the .PHONY variable as phony. We keep that | ||
154 | # information in a variable se we can use it in if_changed and friends. | ||
155 | |||
156 | .PHONY: $(PHONY) | 152 | .PHONY: $(PHONY) |
diff --git a/scripts/Makefile.modsign b/scripts/Makefile.modsign index 171483bc0538..da56aa78d245 100644 --- a/scripts/Makefile.modsign +++ b/scripts/Makefile.modsign | |||
@@ -27,7 +27,4 @@ modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D)) | |||
27 | $(modules): | 27 | $(modules): |
28 | $(call cmd,sign_ko,$(MODLIB)/$(modinst_dir)) | 28 | $(call cmd,sign_ko,$(MODLIB)/$(modinst_dir)) |
29 | 29 | ||
30 | # Declare the contents of the .PHONY variable as phony. We keep that | ||
31 | # information in a variable se we can use it in if_changed and friends. | ||
32 | |||
33 | .PHONY: $(PHONY) | 30 | .PHONY: $(PHONY) |
diff --git a/scripts/cc-can-link.sh b/scripts/cc-can-link.sh index 208eb2825dab..6efcead31989 100755 --- a/scripts/cc-can-link.sh +++ b/scripts/cc-can-link.sh | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # SPDX-License-Identifier: GPL-2.0 | 2 | # SPDX-License-Identifier: GPL-2.0 |
3 | 3 | ||
4 | cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1 && echo "y" | 4 | cat << "END" | $@ -x c - -o /dev/null >/dev/null 2>&1 |
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | int main(void) | 6 | int main(void) |
7 | { | 7 | { |
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index a9c05506e325..447857ffaf6b 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -5813,14 +5813,14 @@ sub process { | |||
5813 | defined $stat && | 5813 | defined $stat && |
5814 | $stat =~ /^\+(?![^\{]*\{\s*).*\b(\w+)\s*\(.*$String\s*,/s && | 5814 | $stat =~ /^\+(?![^\{]*\{\s*).*\b(\w+)\s*\(.*$String\s*,/s && |
5815 | $1 !~ /^_*volatile_*$/) { | 5815 | $1 !~ /^_*volatile_*$/) { |
5816 | my $specifier; | ||
5817 | my $extension; | ||
5818 | my $bad_specifier = ""; | ||
5819 | my $stat_real; | 5816 | my $stat_real; |
5820 | 5817 | ||
5821 | my $lc = $stat =~ tr@\n@@; | 5818 | my $lc = $stat =~ tr@\n@@; |
5822 | $lc = $lc + $linenr; | 5819 | $lc = $lc + $linenr; |
5823 | for (my $count = $linenr; $count <= $lc; $count++) { | 5820 | for (my $count = $linenr; $count <= $lc; $count++) { |
5821 | my $specifier; | ||
5822 | my $extension; | ||
5823 | my $bad_specifier = ""; | ||
5824 | my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0)); | 5824 | my $fmt = get_quoted_string($lines[$count - 1], raw_line($count, 0)); |
5825 | $fmt =~ s/%%//g; | 5825 | $fmt =~ s/%%//g; |
5826 | 5826 | ||
diff --git a/scripts/extract-vmlinux b/scripts/extract-vmlinux index 5061abcc2540..e6239f39abad 100755 --- a/scripts/extract-vmlinux +++ b/scripts/extract-vmlinux | |||
@@ -57,6 +57,8 @@ try_decompress '\3757zXZ\000' abcde unxz | |||
57 | try_decompress 'BZh' xy bunzip2 | 57 | try_decompress 'BZh' xy bunzip2 |
58 | try_decompress '\135\0\0\0' xxx unlzma | 58 | try_decompress '\135\0\0\0' xxx unlzma |
59 | try_decompress '\211\114\132' xy 'lzop -d' | 59 | try_decompress '\211\114\132' xy 'lzop -d' |
60 | try_decompress '\002!L\030' xxx 'lz4 -d' | ||
61 | try_decompress '(\265/\375' xxx unzstd | ||
60 | 62 | ||
61 | # Bail out: | 63 | # Bail out: |
62 | echo "$me: Cannot find vmlinux." >&2 | 64 | echo "$me: Cannot find vmlinux." >&2 |
diff --git a/scripts/tags.sh b/scripts/tags.sh index 66f08bb1cce9..412a70cce558 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh | |||
@@ -245,7 +245,7 @@ exuberant() | |||
245 | { | 245 | { |
246 | setup_regex exuberant asm c | 246 | setup_regex exuberant asm c |
247 | all_target_sources | xargs $1 -a \ | 247 | all_target_sources | xargs $1 -a \ |
248 | -I __initdata,__exitdata,__initconst, \ | 248 | -I __initdata,__exitdata,__initconst,__ro_after_init \ |
249 | -I __initdata_memblock \ | 249 | -I __initdata_memblock \ |
250 | -I __refdata,__attribute,__maybe_unused,__always_unused \ | 250 | -I __refdata,__attribute,__maybe_unused,__always_unused \ |
251 | -I __acquires,__releases,__deprecated \ | 251 | -I __acquires,__releases,__deprecated \ |