Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7301178ybi; Mon, 8 Jul 2019 19:00:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNMr52ySICb+RPdwuy8jWKt2R/nuu+ScGRcTDLiCZN/Uptrj/CC3cykgfr8BXZLczp5Cyf X-Received: by 2002:a17:902:b093:: with SMTP id p19mr27798644plr.141.1562637649674; Mon, 08 Jul 2019 19:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562637649; cv=none; d=google.com; s=arc-20160816; b=P2r15KaW5u+vrbH1TU6kuIpIhqSMbCWQj77+jYNVAdTp8KYn/JRFXAxhXFZ7xJ5bCJ G7Jkw1utYlI4tdx7eRC8ZL3tkDLPaK/+EsJIu2JASewnsCuDTtxmXbvyuN8ekWUJqd87 9/95Myr91dXrgWhJeTOIVS6NqsSEyvESLn7Pz6v0X1m6UkpYlB3sXEEcnBUT5hkWVBeb hqNraXeDNu/iMYX3d+8X1HcOD5HeHnYsvkqXTloF7kQeGM2kxARKk+C8L/tDVFMCY5Mp YCVy+UispE2bf27frHpDkYvluGYsjkFRimDxQqUmRwP0SW3zWMIEd5AvcoRD46ffAYmY ACJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=1JVi8TDnHCVBQFRoN4/6avxUWoTFQMBeO+j1AcoMu+8=; b=rz4Q6pRHRmA9OrZVpsmsJd01xDmeLntldQfu0gC81RZocGsGddKSghFgTdHK+Ymvht BWh/Yi+G+PEzPp+qqvvAbMWsgIRAQwy/kD7+LfJMWZI/hAyv2z4pOACnDmeL5350h06H OSzTHLEfgPY1md4oz7Rh+wEUYXrxo4oLZuDDXhDZrmVlbljfCNVb9oI7LE7dKGWJrIiF JQkrtU7kkV9xCpiHUzBhbnj2R04F9t1DzSs07G6+cFL6eEqfggyV8T55Skkh6ZYhPESa Ec7OmzutDbU05nCy6Tm2hVTuCGnZNxa3gG4vjcDtsqZ+PwheLb7XhsZixzlPCItC3HRW cP6g== 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 v71si21529678pgd.468.2019.07.08.19.00.34; Mon, 08 Jul 2019 19:00:49 -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 S1727270AbfGIB65 (ORCPT + 99 others); Mon, 8 Jul 2019 21:58:57 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2188 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727165AbfGIB64 (ORCPT ); Mon, 8 Jul 2019 21:58:56 -0400 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id C95E01D72EB7A611C55D; Tue, 9 Jul 2019 09:58:53 +0800 (CST) Received: from [127.0.0.1] (10.177.96.203) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.439.0; Tue, 9 Jul 2019 09:58:51 +0800 Subject: Re: [PATCH] scsi: libsas: remove the exporting of sas_wait_eh To: Denis Efremov , Dan Williams CC: "James E.J. Bottomley" , "Martin K. Petersen" , , References: <20190708164339.14465-1-efremov@linux.com> From: Jason Yan Message-ID: <00489583-ff52-d9b7-5e46-478aa361758e@huawei.com> Date: Tue, 9 Jul 2019 09:58:50 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190708164339.14465-1-efremov@linux.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.96.203] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/7/9 0:43, Denis Efremov wrote: > The function sas_wait_eh is declared static and marked > EXPORT_SYMBOL, which is at best an odd combination. Because the > function is not used outside of the drivers/scsi/libsas/sas_scsi_host.c > file it is defined in, this commit removes the EXPORT_SYMBOL() marking. > > Signed-off-by: Denis Efremov > --- > drivers/scsi/libsas/sas_scsi_host.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c > index ede0674d8399..5564d3f1243a 100644 > --- a/drivers/scsi/libsas/sas_scsi_host.c > +++ b/drivers/scsi/libsas/sas_scsi_host.c > @@ -414,7 +414,6 @@ static void sas_wait_eh(struct domain_device *dev) > goto retry; > } > } > -EXPORT_SYMBOL(sas_wait_eh); > > static int sas_queue_reset(struct domain_device *dev, int reset_type, > u64 lun, int wait) > Reviewed-by: Jason Yan