]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: remove ignored type attribute
authorNick Desaulniers <nick.desaulniers@gmail.com>
Wed, 28 Jun 2017 02:37:14 +0000 (19:37 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Jun 2017 10:45:55 +0000 (12:45 +0200)
commit08bd7303abc8f31f33c73d4603a8b22f4db4eaae
tree2d45764247b2662b836054de8dc9f5260efe3638
parentb3894eb04b8245233cd4e7117e16f2f1da347d76
KVM: x86: remove ignored type attribute

The macro insn_fetch marks the 'type' argument as having a specified
alignment.  Type attributes can only be applied to structs, unions, or
enums, but insn_fetch is only ever invoked with integral types, so Clang
produces 19 -Wignored-attributes warnings for this source file.

Signed-off-by: Nick Desaulniers <nick.desaulniers@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c