[PATCH 5/5] pci-hyperv: make irq mask/unmask static

2016-08-30 Thread sthemmin
From: Stephen Hemminger Fixes sparse warning since these functions are only used in this file. Signed-off-by: Stephen Hemminger --- drivers/pci/host/pci-hyperv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.

[PATCH 3/5] hv: comment spelling fixes

2016-08-30 Thread sthemmin
From: Stephen Hemminger Lots of little spelling mistakes. Signed-off-by: Stephen Hemminger --- drivers/hv/channel.c| 16 drivers/hv/connection.c | 2 +- drivers/hv/hv_kvp.c | 6 +++--- drivers/hv/vmbus_drv.c | 2 +- include/linux/hyperv.h | 16 5

[PATCH 2/5] hv: minor whitespace fix

2016-08-30 Thread sthemmin
From: Stephen Hemminger Proper spacing around callback function. Signed-off-by: Stephen Hemminger --- include/linux/hyperv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 9464ff7..f46159d 100644 --- a/include/linux

[PATCH 4/5] hv: make vmbus mmio variables static

2016-08-30 Thread sthemmin
From: Stephen Hemminger These are only used in this file. Signed-off-by: Stephen Hemminger --- drivers/hv/vmbus_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 8ae2ed7..751fd19 100644 --- a/drivers/hv/vmbus_drv

[PATCH 1/5] hv: remove stale comment

2016-08-30 Thread sthemmin
From: Stephen Hemminger The channel callback is invoked from softirq/tasklet not a work queue and the commented out part is leftover from staging. Signed-off-by: Stephen Hemminger --- include/linux/hyperv.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/hyperv.h b/include/

[PATCH 0/2] hyperv: minor cleanups

2016-08-22 Thread sthemmin
From: Stephen Hemminger Sparse warnings from global data/functions that should be static Stephen Hemminger (2): hyperv: make mmio resource local hv_pci: make hv_irq functions static drivers/hv/vmbus_drv.c|4 ++-- drivers/pci/host/pci-hyperv.c |4 ++-- 2 files changed, 4 ins

[PATCH 1/2] hyperv: make mmio resource local

2016-08-22 Thread sthemmin
From: Stephen Hemminger This fixes a sparse warning because hyperv_mmio resources are only used in this one file and should be static. Signed-off-by: Stephen Hemminger --- drivers/hv/vmbus_drv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hv/vmbus_drv.c

[PATCH 2/2] hv_pci: make hv_irq functions static

2016-08-22 Thread sthemmin
From: Stephen Hemminger Fix sparse warning because these functions only used in one file. Signed-off-by: Stephen Hemminger --- drivers/pci/host/pci-hyperv.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c