From: Stephen Hemminger <sthemmin@xxxxxxxxxxxxxxxxx> 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 <sthemmin@xxxxxxxxxxxxxxxxx> --- a/drivers/hv/vmbus_drv.c 2016-08-05 15:19:55.000000000 -0700 +++ b/drivers/hv/vmbus_drv.c 2016-08-15 10:39:30.436494786 -0700 @@ -105,8 +105,8 @@ static struct notifier_block hyperv_pani static const char *fb_mmio_name = "fb_range"; static struct resource *fb_mmio; -struct resource *hyperv_mmio; -DEFINE_SEMAPHORE(hyperv_mmio_lock); +static struct resource *hyperv_mmio; +static DEFINE_SEMAPHORE(hyperv_mmio_lock); static int vmbus_exists(void) { _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel