Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-24 Thread Wei Liu
On Tue, Mar 23, 2021 at 10:43:02AM +0800, Xu Yihang wrote: > Fixes the following W=1 kernel build warning(s): > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not > used [-Wunused-but-set-variable] > unsigned long msr_val; > > As Hypervisor Top-Level Functional

Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-23 Thread Wei Liu
On Tue, Mar 23, 2021 at 01:13:03AM +0100, Ingo Molnar wrote: > > * Michael Kelley wrote: > > > From: Ingo Molnar Sent: Monday, March 22, 2021 > > 2:08 PM > > > > > > * Xu Yihang wrote: > > > > > > > Fixes the following W=1 kernel build warning(s): > > > >

[PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Xu Yihang
Fixes the following W=1 kernel build warning(s): arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not used [-Wunused-but-set-variable] unsigned long msr_val; As Hypervisor Top-Level Functional Specification states in chapter 7.5 Virtual Processor Idle Sleep State, "A

Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Ingo Molnar
* Michael Kelley wrote: > From: Ingo Molnar Sent: Monday, March 22, 2021 > 2:08 PM > > > > * Xu Yihang wrote: > > > > > Fixes the following W=1 kernel build warning(s): > > > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable 'msr_val' set but > > > not used [- > >

RE: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Michael Kelley
From: Ingo Molnar Sent: Monday, March 22, 2021 2:08 PM > > * Xu Yihang wrote: > > > Fixes the following W=1 kernel build warning(s): > > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable 'msr_val' set but > > not used [- > Wunused-but-set-variable] > > unsigned long msr_val; > > > >

Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Ingo Molnar
* Xu Yihang wrote: > Fixes the following W=1 kernel build warning(s): > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not > used [-Wunused-but-set-variable] > unsigned long msr_val; > > As Hypervisor Top-Level Functional Specification states in chapter 7.5 >

Re: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-22 Thread Wei Liu
On Mon, Mar 22, 2021 at 11:17:13AM +0800, Xu Yihang wrote: > Fixes the following W=1 kernel build warning(s): > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not > used [-Wunused-but-set-variable] > unsigned long msr_val; > > As Hypervisor Top-Level Functional

[PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-21 Thread Xu Yihang
Fixes the following W=1 kernel build warning(s): arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not used [-Wunused-but-set-variable] unsigned long msr_val; As Hypervisor Top-Level Functional Specification states in chapter 7.5 Virtual Processor Idle Sleep State, "A

RE: [PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-19 Thread Michael Kelley
From: Xu Yihang Sent: Thursday, March 18, 2021 1:04 AM > > Fixes the following W=1 kernel build warning(s): > arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not > used [- > Wunused-but-set-variable] > unsigned long msr_val; > > Reported-by: Hulk Robot >

[PATCH -next] x86: Fix unused variable 'msr_val' warning

2021-03-18 Thread Xu Yihang
Fixes the following W=1 kernel build warning(s): arch/x86/hyperv/hv_spinlock.c:28:16: warning: variable ‘msr_val’ set but not used [-Wunused-but-set-variable] unsigned long msr_val; Reported-by: Hulk Robot Signed-off-by: Xu Yihang --- arch/x86/hyperv/hv_spinlock.c | 2 +- 1 file changed, 1