diff options
author | Borislav Petkov <[email protected]> | 2011-05-30 22:11:17 +0200 |
---|---|---|
committer | Avi Kivity <[email protected]> | 2011-06-19 19:23:13 +0300 |
commit | b72336355bb4c92d4a2be3f975dbea47089c83c1 (patch) | |
tree | 5d5d896a5fa9a512a89e7b6ad1d3e4081c5c3f2d /net/lapb/lapb_timer.c | |
parent | de505e709ffb09a7382ca8e0d8c7dbb171ba5830 (diff) |
KVM: MMU: Fix build warnings in walk_addr_generic()
On 3.0-rc1 I get
In file included from arch/x86/kvm/mmu.c:2856:
arch/x86/kvm/paging_tmpl.h: In function ‘paging32_walk_addr_generic’:
arch/x86/kvm/paging_tmpl.h:124: warning: ‘ptep_user’ may be used uninitialized in this function
In file included from arch/x86/kvm/mmu.c:2852:
arch/x86/kvm/paging_tmpl.h: In function ‘paging64_walk_addr_generic’:
arch/x86/kvm/paging_tmpl.h:124: warning: ‘ptep_user’ may be used uninitialized in this function
caused by 6e2ca7d1802bf8ed9908435e34daa116662e7790. According to Takuya
Yoshikawa, ptep_user won't be used uninitialized so shut up gcc.
Cc: Takuya Yoshikawa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions