Drivers: hv: vmbus: hv_process_timer_expiration() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Sun, 25 Jan 2015 17:17:54 +0000 (01:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 17:24:42 +0000 (09:24 -0800)
drivers/hv/vmbus_drv.c:582:6: sparse: symbol 'hv_process_timer_expiration' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c

index 7488111ec05749ed597b3d67d1aa944b898b9be2..35e3f422ad7bda3790767dcb4e527db7d08133c3 100644 (file)
@@ -579,7 +579,7 @@ static void vmbus_onmessage_work(struct work_struct *work)
        kfree(ctx);
 }
 
-void hv_process_timer_expiration(struct hv_message *msg, int cpu)
+static void hv_process_timer_expiration(struct hv_message *msg, int cpu)
 {
        struct clock_event_device *dev = hv_context.clk_evt[cpu];