git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a25eb11
)
KVM: VMX: Use proper types to access const arrays
author
Mathias Krause
<minipli@googlemail.com>
Wed, 26 Jun 2013 18:36:21 +0000
(20:36 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 18 Jul 2013 10:29:28 +0000
(12:29 +0200)
Use a const pointer type instead of casting away the const qualifier
from const arrays. Keep the pointer array on the stack, nonetheless.
Making it static just increases the object size.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
No differences found