In case of if not ext4_fc_add_tlv branch, an error return code is missing.
Fixes: aa75f4d3daae ("ext4: main fast-commit commit path")
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
fs/ext4/fast_commit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
ly cast to void in order to silent this warning.
Reference:
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
arch/x86/hyperv/hv_spinlock.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --
CROSS_COMPILE=x86_64-linux-gnu-
HV_X64_MSR_EOI stores on bit 31:0 and HV_X64_MSR_TPR stores in bit 7:0, which
means higher
32 bits are not really used, therefore potentially cast to void in order to
silent this warning.
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
arch/x86/hyperv
avoid warning.
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
arch/x86/kernel/cpu/intel.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index 63e381a46153..547ba6668eb3 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kerne
ybe_unused should be added.
Reference:
https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
arch/x86/hyperv/hv_spinlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/hyperv/hv_spinloc
Git message updated.
CROSS_COMPILE=x86_64-linux-gnu-
HV_X64_MSR_EOI stores on bit 31:0 and HV_X64_MSR_TPR stores in bit 7:0, which
means higher 32 bits are not really used, therefore __maybe_unused added.
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
arch/x86/hyperv/hv_apic.c | 3 ++-
1 file changed, 2
Fixes the following W=1 kernel build warning(s):
arch/x86/hyperv/hv_apic.c:58:15: warning: variable ‘hi’ set but not used
[-Wunused-but-set-variable]
Reported-by: Hulk Robot
Signed-off-by: Xu Yihang
---
arch/x86/hyperv/hv_apic.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
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
9 matches
Mail list logo