lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 07 Dec 2012 14:45:43 -0800
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Cong Ding <dinggnu@...il.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>, x86@...nel.org,
	Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

Patch description please?

Cong Ding <dinggnu@...il.com> wrote:

>
>Signed-off-by: Cong Ding <dinggnu@...il.com>
>---
> arch/x86/tools/gen-insn-attr-x86.awk |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/arch/x86/tools/gen-insn-attr-x86.awk
>b/arch/x86/tools/gen-insn-attr-x86.awk
>index ddcf39b..d1d9cfa 100644
>--- a/arch/x86/tools/gen-insn-attr-x86.awk
>+++ b/arch/x86/tools/gen-insn-attr-x86.awk
>@@ -356,7 +356,7 @@ END {
> 		exit 1
> 	# print escape opcode map's array
> 	print "/* Escape opcode map array */"
>-	print "const insn_attr_t const *inat_escape_tables[INAT_ESC_MAX + 1]"
>\
>+	print "const insn_attr_t *inat_escape_tables[INAT_ESC_MAX + 1]" \
> 	      "[INAT_LSTPFX_MAX + 1] = {"
> 	for (i = 0; i < geid; i++)
> 		for (j = 0; j < max_lprefix; j++)
>@@ -365,7 +365,7 @@ END {
> 	print "};\n"
> 	# print group opcode map's array
> 	print "/* Group opcode map array */"
>-	print "const insn_attr_t const *inat_group_tables[INAT_GRP_MAX + 1]"\
>+	print "const insn_attr_t *inat_group_tables[INAT_GRP_MAX + 1]"\
> 	      "[INAT_LSTPFX_MAX + 1] = {"
> 	for (i = 0; i < ggid; i++)
> 		for (j = 0; j < max_lprefix; j++)

-- 
Sent from my mobile phone. Please excuse brevity and lack of formatting.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ