Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp959426ybk; Wed, 13 May 2020 18:30:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAEc4M+SS67Z9OuCZahpnsRlvwsQu319zWr+jf6zRygSYJaC2jRoeZqJYSVUOsojs703mM X-Received: by 2002:aa7:dcd7:: with SMTP id w23mr2064730edu.300.1589419800863; Wed, 13 May 2020 18:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589419800; cv=none; d=google.com; s=arc-20160816; b=N7DElXrnVqAqb4GuMBHpuXmYWXbEUVvgL0tSOQeUZtZdXCinKby6+DQWaxQuiP4VMv ivx/mwsxgau7sszOHUkU81bqhiVyL8eXnUYr84Dxkg6u8rkbjz82Jumpgv+fCHlXi6YP 0HsshuX560Eku4E8Hf1vMKPXPqJPSsf5Qsu7h74JXRwj17Hi0/bsEQhKfBr9cqrQJSBV 88uvshUW4NZdD3F6M+9EjzEQaZTpP3xmhexuEt6anvij8K2BUSaUh6jqgLF69aX+AD+T RmpRxY1OOYeDQSq0ZdWp1sVhEFyTAooFR6laL32wd2JGA6bv+gbwADoSvqZtNIOS3Kdu 19pA== 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:mime-version :message-id:date:subject:cc:to:from; bh=GuRKSCFffHa7vARiw3paFrk4SegGloI5Q+f+xD1eFUU=; b=dlhIUSrlpEKEiyFSpKHQIWocfGQICXigUw+grpdWmvrQXR5lAQzE+6tu7XZJemfK+m 5Wn9DGzT6gOKmyw9NFEglFMeo6UOHhjrMwicQdzIncmycJa5/HCLR8zFH+061YxqjMIc hXtuQL8TMKeJul/JQu1tOBmpeNgvSi4kAnAxGqha5P9H0x6NMWVzhshyTTKTDlI8ydJl dvTKUppfleBVXvBAu2y5d+FWIkGT3l+ebv8XEIXmYPUsLvEm/1UqkE3TSpKWOw/Wic3d GgiBwY1dOiKowelqJTelSOKipYELUC4m6dMGC79Yx7v9OTSICi3UbdSXD7aUwZQusiui zJJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d16si696620edp.315.2020.05.13.18.29.37; Wed, 13 May 2020 18:30:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726070AbgENB1z (ORCPT + 99 others); Wed, 13 May 2020 21:27:55 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4782 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725925AbgENB1z (ORCPT ); Wed, 13 May 2020 21:27:55 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id CF1FBDA80C84152DD1C9; Thu, 14 May 2020 09:27:52 +0800 (CST) Received: from huawei.com (10.67.174.156) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Thu, 14 May 2020 09:27:43 +0800 From: ChenTao To: , , , CC: , , , , , , Subject: [PATCH -next] scsi: ufs-mediatek: Make ufs_mtk_fixup_dev_quirks static Date: Thu, 14 May 2020 09:26:55 +0800 Message-ID: <20200514012655.127202-1-chentao107@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.156] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following warning: drivers/scsi/ufs/ufs-mediatek.c:585:6: warning: symbol 'ufs_mtk_fixup_dev_quirks' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: ChenTao --- drivers/scsi/ufs/ufs-mediatek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c index c543142554d3..73e4a4f9a3a2 100644 --- a/drivers/scsi/ufs/ufs-mediatek.c +++ b/drivers/scsi/ufs/ufs-mediatek.c @@ -582,7 +582,7 @@ static int ufs_mtk_apply_dev_quirks(struct ufs_hba *hba) return 0; } -void ufs_mtk_fixup_dev_quirks(struct ufs_hba *hba) +static void ufs_mtk_fixup_dev_quirks(struct ufs_hba *hba) { struct ufs_dev_info *dev_info = &hba->dev_info; u16 mid = dev_info->wmanufacturerid; -- 2.22.0