diff options
author | Mathias Krause <minipli@googlemail.com> | 2013-06-26 20:36:21 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-18 12:29:28 +0200 |
commit | c2bae8939487c101b0516c4c8ad80f543b22bb29 (patch) | |
tree | d68d39e7a80b252a002a36aa5f70777b12c084cf /tools/perf/scripts/python | |
parent | a25eb114d50d6e60ef586f2466c874581c31594c (diff) |
KVM: VMX: Use proper types to access const arrays
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions