From patchwork Tue Jan 9 07:51:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10151043 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C0151603ED for ; Tue, 9 Jan 2018 07:52:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6B2B2891A for ; Tue, 9 Jan 2018 07:52:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB85F2891E; Tue, 9 Jan 2018 07:52:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56A3A2891A for ; Tue, 9 Jan 2018 07:52:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754241AbeAIHwZ (ORCPT ); Tue, 9 Jan 2018 02:52:25 -0500 Received: from mga11.intel.com ([192.55.52.93]:61412 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752960AbeAIHwY (ORCPT ); Tue, 9 Jan 2018 02:52:24 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jan 2018 23:52:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,334,1511856000"; d="scan'208";a="18601564" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga003.jf.intel.com with ESMTP; 08 Jan 2018 23:52:21 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1eYonw-000GS4-HW; Tue, 09 Jan 2018 15:58:40 +0800 Date: Tue, 9 Jan 2018 15:51:58 +0800 From: kbuild test robot To: Jason Yan Cc: kbuild-all@01.org, "Martin K. Petersen" , Hannes Reinecke , "James E.J. Bottomley" , Yijing Wang , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH mkp-scsi] scsi: libsas: sas_destruct_ports() can be static Message-ID: <20180109075158.GA143587@lkp-ib03> References: <201801091521.r3DztdJM%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201801091521.r3DztdJM%fengguang.wu@intel.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-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 99cfdc04c12e ("scsi: libsas: direct call probe and destruct") Signed-off-by: Fengguang Wu --- sas_discover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c index 190108e..e4fd078 100644 --- a/drivers/scsi/libsas/sas_discover.c +++ b/drivers/scsi/libsas/sas_discover.c @@ -361,7 +361,7 @@ void sas_destruct_devices(struct asd_sas_port *port) } } -void sas_destruct_ports(struct asd_sas_port *port) +static void sas_destruct_ports(struct asd_sas_port *port) { struct sas_port *sas_port, *p;