Received: by 10.192.165.148 with SMTP id m20csp1668906imm; Sat, 5 May 2018 18:58:57 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr5xsrtceHj7SZ1I5Mtbg9XDlY5/gDpZvBixz8CdmPUn0mkdiSrr/4AucD6qG2JAGdC08Gt X-Received: by 2002:a17:902:3e5:: with SMTP id d92-v6mr34410972pld.104.1525571937029; Sat, 05 May 2018 18:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525571936; cv=none; d=google.com; s=arc-20160816; b=CInYF49DVymuhWCCM8WgWk4m4EEClRCitgATW2fZk0UW56EuA4TKdqSrZ+vsXjr5Hv zOaqjR70bVqkS01vcfiz2NolINyGt0/x1Rz5ndwy3XayDuMeIB5N3pOTWAzwz/VLSwlb Cnd0lheg/bY+cXVGhYUUleTDf/nBrrOSGXH7mnyZntOS7VBIuYf7/YD+HR199ZtTG/SY amJddO8hNT7gX/2v5jKk6aaglwz1A2TMQBnyt4WHxE6kQoTVrMSDZDJaZGaMp+Eo41wm wNUChuwb50VboIMalUXT88Ax/mWKT61WRRpfFgYVimtFhBQOp7WMKuIrfHu3tnmTIo8M jOdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=NzfRbvw4MxgtX+BkbhNQtY+qtk8tfXWRBpDiAib0iCY=; b=tZorSO4IByiZ/0PhW1n+wZ/61Er3F/DVfTy2ZKPdh00/XMpN7PtiPL8Zduw6+kYKqV f7Yf+MwYp7SsvfFO5aaN+KrCuJntzYI7Wwq/t+Fc2RBau8+q6nshzRzbCYvPAcbB4d7w fEKdCeJ/T0t/BInoh/qh979L6QBhh+z4k2ju6U/pQ0vxIFM8xmaUThDkVBOqM3Xkqwsm N3GMLefwrB+66lpyAv7HYOGoPC6ZlYr6n76scG/QrbrpFzGc9eVrFlHpl3yAVKPJQoxz n4tzeiV6xel3Gh/f/gugueEWdJF+ebiNBJiv5cy9LuKcqNsXaEIyUZNcousi6GxCbSV5 JRZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4-v6si5297324pgs.184.2018.05.05.18.58.42; Sat, 05 May 2018 18:58:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751986AbeEFB5Z (ORCPT + 99 others); Sat, 5 May 2018 21:57:25 -0400 Received: from mga04.intel.com ([192.55.52.120]:18661 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833AbeEFB5W (ORCPT ); Sat, 5 May 2018 21:57:22 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 May 2018 18:57:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,367,1520924400"; d="scan'208";a="221950992" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga005.jf.intel.com with ESMTP; 05 May 2018 18:57:19 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fF8vO-000JaT-S3; Sun, 06 May 2018 09:57:18 +0800 Date: Sun, 6 May 2018 09:56:33 +0800 From: kbuild test robot To: Pavel Tatashin Cc: kbuild-all@01.org, pasha.tatashin@oracle.com, steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux-kernel@vger.kernel.org, jeffrey.t.kirsher@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, gregkh@linuxfoundation.org, alexander.duyck@gmail.com, tobin@apporbit.com Subject: [RFC PATCH] drivers core: device_root_tasks_done can be static Message-ID: <20180506015633.GA91045@lkp-hsx03> References: <20180505154040.28614-2-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180505154040.28614-2-pasha.tatashin@oracle.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes: 6d54ba128905 ("drivers core: multi-threading device shutdown") Signed-off-by: Fengguang Wu --- 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