[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180506015633.GA91045@lkp-hsx03>
Date: Sun, 6 May 2018 09:56:33 +0800
From: kbuild test robot <lkp@...el.com>
To: Pavel Tatashin <pasha.tatashin@...cle.com>
Cc: kbuild-all@...org, pasha.tatashin@...cle.com,
steven.sistare@...cle.com, daniel.m.jordan@...cle.com,
linux-kernel@...r.kernel.org, jeffrey.t.kirsher@...el.com,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
gregkh@...uxfoundation.org, alexander.duyck@...il.com,
tobin@...orbit.com
Subject: [RFC PATCH] drivers core: device_root_tasks_done can be static
Fixes: 6d54ba128905 ("drivers core: multi-threading device shutdown")
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 110d797..666c163 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -2874,7 +2874,7 @@ static int device_shutdown_child_task(void *data);
*/
static atomic_t device_root_tasks_finished;
static atomic_t device_root_tasks_started;
-struct completion device_root_tasks_done;
+static struct completion device_root_tasks_done;
/**
* Shutdown device tree with root started in dev. If dev has no children
Powered by blists - more mailing lists