Re: [Xen-devel] [PATCH] svm/emulate: remove duplicated const specifier

2016-09-30 Thread Andrew Cooper
On 30/09/16 16:47, Wei Liu wrote: > Clang complains: > > emulate.c:65:3: error: duplicate 'const' declaration specifier > [-Werror,-Wduplicate-decl-specifier] > } const opc_tab[INSTR_MAX_COUNT] = { > ^ > > Remove that const to fix the issue. > > Signed-off-by: Wei Liu Reviewed-by: Andrew

[Xen-devel] [PATCH] svm/emulate: remove duplicated const specifier

2016-09-30 Thread Wei Liu
Clang complains: emulate.c:65:3: error: duplicate 'const' declaration specifier [-Werror,-Wduplicate-decl-specifier] } const opc_tab[INSTR_MAX_COUNT] = { ^ Remove that const to fix the issue. Signed-off-by: Wei Liu --- xen/arch/x86/hvm/svm/emulate.c | 2 +- 1 file changed, 1 insertion(