[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141216173316.GA63428@snb.sh.intel.com>
Date: Wed, 17 Dec 2014 01:33:16 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Jon Medhurst <tixy@...aro.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org
Subject: [PATCH tixy] gator: wq_get_stats can be static
drivers/gator/gator_events_net.c:48:1: sparse: symbol 'wq_get_stats' was not declared. Should it be static?
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
gator_events_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gator/gator_events_net.c b/drivers/gator/gator_events_net.c
index d21b4db..47fee71 100644
--- a/drivers/gator/gator_events_net.c
+++ b/drivers/gator/gator_events_net.c
@@ -45,7 +45,7 @@ static void get_network_stats(struct work_struct *wsptr)
tx_total = tx;
}
-DECLARE_WORK(wq_get_stats, get_network_stats);
+static DECLARE_WORK(wq_get_stats, get_network_stats);
static void net_wake_up_handler(unsigned long unused_data)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists