Patch "Drivers: hv: vmbus: fix build warning" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
Drivers: hv: vmbus: fix build warning
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drivers-hv-vmbus-fix-build-warning.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
9220e39b5c900c67ddcb517d52fe52d90fb5e3c8Mon Sep 17 00:00:00 2001
From: Sudip Mukherjee <[email protected]>
Date: Fri, 11 Dec 2015 14:23:11 +0530
Subject: Drivers: hv: vmbus: fix build warning
From: Sudip Mukherjee <[email protected]>
commit 9220e39b5c900c67ddcb517d52fe52d90fb5e3c8 upstream.
We were getting build warning about unused variable "tsc_msr" and "va_tsc" while building for i386 allmodconfig.
--- drivers/hv/hv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/hv/hv.c +3 -2
@@ -195,9 +195,7 @@ int hv_init(void) {int max_leaf;union hv_x64_msr_hypercall_contents hypercall_msr; -union hv_x64_msr_hypercall_contents tsc_msr;void *virtaddr =NULL ; -void *va_tsc =NULL ;memset (hv_context.synic_event_page,0 ,sizeof (void *) *NR_CPUS ); memset(hv_context.synic_message_page, 0,
@@ -243,6 +241,9 @@ int hv_init(void)#ifdef CONFIG_X86_64 if (ms_hyperv.features &HV_X64_MSR_REFERENCE_TSC_AVAILABLE ) { +union hv_x64_msr_hypercall_contents tsc_msr; +void *va_tsc; + va_tsc =__vmalloc (PAGE_SIZE ,GFP_KERNEL ,PAGE_KERNEL );if (!va_tsc) goto cleanup;
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/kasan-rework-kconfig-settings.patch queue-4.4/drivers-hv-vmbus-fix-build-warning.patch queue-4.4/video-fbdev-sis-remove-unused-variable.patch queue-4.4/drm-gma500-remove-helper-function.patch queue-4.4/dpt_i2o-fix-build-warning.patch queue-4.4/scsi-sim710-fix-build-warning.patch