Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:5.3 commit in: /
Date: Sat, 30 Nov 2019 13:15:09
Message-Id: 1575119641.c26796850f00de4dbd6fa760c6bd4101e69f0393.whissi@gentoo
1 commit: c26796850f00de4dbd6fa760c6bd4101e69f0393
2 Author: Thomas Deutschmann <whissi <AT> whissi <DOT> de>
3 AuthorDate: Sat Nov 30 13:14:01 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 30 13:14:01 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=c2679685
7
8 Drop 2900_awk-regexp-warnings.patch
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> whissi.de>
11
12 2900_awk-regexp-warnings.patch | 89 ------------------------------------------
13 1 file changed, 89 deletions(-)
14
15 diff --git a/2900_awk-regexp-warnings.patch b/2900_awk-regexp-warnings.patch
16 deleted file mode 100644
17 index 5e62625..0000000
18 --- a/2900_awk-regexp-warnings.patch
19 +++ /dev/null
20 @@ -1,89 +0,0 @@
21 -From 700c1018b86d0d4b3f1f2d459708c0cdf42b521d Mon Sep 17 00:00:00 2001
22 -From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
23 -Date: Tue, 24 Sep 2019 07:46:59 +0300
24 -Subject: x86/insn: Fix awk regexp warnings
25 -
26 -gawk 5.0.1 generates the following regexp warnings:
27 -
28 - GEN /home/sasha/torvalds/tools/objtool/arch/x86/lib/inat-tables.c
29 - awk: ../arch/x86/tools/gen-insn-attr-x86.awk:260: warning: regexp escape sequence `\:' is not a known regexp operator
30 - awk: ../arch/x86/tools/gen-insn-attr-x86.awk:350: (FILENAME=../arch/x86/lib/x86-opcode-map.txt FNR=41) warning: regexp escape sequence `\&' is not a known regexp operator
31 -
32 -Ealier versions of gawk are not known to generate these warnings. The
33 -gawk manual referenced below does not list characters ':' and '&' as
34 -needing escaping, so 'unescape' them. See
35 -
36 - https://www.gnu.org/software/gawk/manual/html_node/Escape-Sequences.html
37 -
38 -for more info.
39 -
40 -Running diff on the output generated by the script before and after
41 -applying the patch reported no differences.
42 -
43 - [ bp: Massage commit message. ]
44 -
45 -[ Caught the respective tools header discrepancy. ]
46 -Reported-by: kbuild test robot <lkp@×××××.com>
47 -Signed-off-by: Alexander Kapshuk <alexander.kapshuk@×××××.com>
48 -Signed-off-by: Borislav Petkov <bp@××××.de>
49 -Acked-by: Masami Hiramatsu <mhiramat@××××××.org>
50 -Cc: "H. Peter Anvin" <hpa@×××××.com>
51 -Cc: "Peter Zijlstra (Intel)" <peterz@×××××××××.org>
52 -Cc: Arnaldo Carvalho de Melo <acme@××××××.com>
53 -Cc: Ingo Molnar <mingo@××××××.com>
54 -Cc: Josh Poimboeuf <jpoimboe@××××××.com>
55 -Cc: Thomas Gleixner <tglx@××××××××××.de>
56 -Cc: x86-ml <x86@××××××.org>
57 -Link: https://lkml.kernel.org/r/20190924044659.3785-1-alexander.kapshuk@×××××.com
58 ----
59 - arch/x86/tools/gen-insn-attr-x86.awk | 4 ++--
60 - tools/arch/x86/tools/gen-insn-attr-x86.awk | 4 ++--
61 - 2 files changed, 4 insertions(+), 4 deletions(-)
62 -
63 -diff --git a/arch/x86/tools/gen-insn-attr-x86.awk b/arch/x86/tools/gen-insn-attr-x86.awk
64 -index b02a36b2c14f..a42015b305f4 100644
65 ---- a/arch/x86/tools/gen-insn-attr-x86.awk
66 -+++ b/arch/x86/tools/gen-insn-attr-x86.awk
67 -@@ -69,7 +69,7 @@ BEGIN {
68 -
69 - lprefix1_expr = "\\((66|!F3)\\)"
70 - lprefix2_expr = "\\(F3\\)"
71 -- lprefix3_expr = "\\((F2|!F3|66\\&F2)\\)"
72 -+ lprefix3_expr = "\\((F2|!F3|66&F2)\\)"
73 - lprefix_expr = "\\((66|F2|F3)\\)"
74 - max_lprefix = 4
75 -
76 -@@ -257,7 +257,7 @@ function convert_operands(count,opnd, i,j,imm,mod)
77 - return add_flags(imm, mod)
78 - }
79 -
80 --/^[0-9a-f]+\:/ {
81 -+/^[0-9a-f]+:/ {
82 - if (NR == 1)
83 - next
84 - # get index
85 -diff --git a/tools/arch/x86/tools/gen-insn-attr-x86.awk b/tools/arch/x86/tools/gen-insn-attr-x86.awk
86 -index b02a36b2c14f..a42015b305f4 100644
87 ---- a/tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk
88 -+++ b/tools/objtool/arch/x86/tools/gen-insn-attr-x86.awk
89 -@@ -69,7 +69,7 @@ BEGIN {
90 -
91 - lprefix1_expr = "\\((66|!F3)\\)"
92 - lprefix2_expr = "\\(F3\\)"
93 -- lprefix3_expr = "\\((F2|!F3|66\\&F2)\\)"
94 -+ lprefix3_expr = "\\((F2|!F3|66&F2)\\)"
95 - lprefix_expr = "\\((66|F2|F3)\\)"
96 - max_lprefix = 4
97 -
98 -@@ -257,7 +257,7 @@ function convert_operands(count,opnd, i,j,imm,mod)
99 - return add_flags(imm, mod)
100 - }
101 -
102 --/^[0-9a-f]+\:/ {
103 -+/^[0-9a-f]+:/ {
104 - if (NR == 1)
105 - next
106 - # get index
107 ---
108 -cgit 1.2-0.3.lf.el7
109 -