summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMark D Rustad <mark.d.rustad@intel.com>2014-07-30 23:19:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-07-31 16:33:29 +0200
commit42cbc04fd3b5e3f9b011bf9fa3ce0b3d1e10b58b (patch)
tree5d0b1f9408271648cbbc162b01061751683a0826 /virt
parentMerge tag 'kvm-s390-20140730' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-42cbc04fd3b5e3f9b011bf9fa3ce0b3d1e10b58b.tar.xz
linux-42cbc04fd3b5e3f9b011bf9fa3ce0b3d1e10b58b.zip
x86/kvm: Resolve shadow warnings in macro expansion
Resolve shadow warnings that appear in W=2 builds. Instead of using ret to hold the return pointer, save the length in a new variable saved_len and compute the pointer on exit. This also resolves a very technical error, in that ret was declared as a const char *, when it really was a char * const. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions