Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp168069pxf; Thu, 25 Mar 2021 00:53:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1KyFJhsD9Sv07jrX3d96A7S1IUayHbZN5d971BCIsT5zlO/xNiPgOQcd+OETFgSCYJqW1 X-Received: by 2002:a05:6402:b2d:: with SMTP id bo13mr7579883edb.120.1616658833415; Thu, 25 Mar 2021 00:53:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616658833; cv=none; d=google.com; s=arc-20160816; b=ur4H0wkNDkrXLp2QAYq1qlspUb071trJPSEo4FgasisIM9pAEhFRtzL0du7OzUIsVj gskK1PuGz2DeqEoXgy68JNYy10Hcns/ANHTjytRrtR+sSeRlyuNJAjW9dcVpa2NVt6mW ZJupPJbltuWxJ5M5a6UlHBv/GGzDAt8SJOsGs33S/suZH8gYRw0YE7whpZUSnNserE5D F0xefhqhUW8JOIqhN3jAwVKKLNQ4ZbiVjxlv1JpEk/unE+n6wjs5APG7q3lNwhyAqZKm oWd/kw7tPR66j7BrtUxWYzW8E08hGjpeHlJtOxAfi1JOKiqKKlsBha/qqVzcYqr69inF XyxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LLEyUtQbkQV8d3xtBWdor9ELzQfQZC6UmNQvCp8sMy8=; b=HA2BQfq5wU4sw2NUq3oFCtFtSHj+4sJMb84tl//ACUiN+5XGbvMEYkccdnQWKxoDpn BxMhRL5q3ZAmXz1ARY2mVNAovFuHxj3EZP6Bz3YbxAEAE0cLgEGtxw/xT+Qsh5YVbT9K DYvFMtJXSYZBkTMPm0GGkSmOUG7DRjYmwMIp3bgZzA0Ax4NP5KSoae4NWATtkKC6Nsiz em4DLXFWMEp44DndrHsy7E/LNWouY6GrorMkDmeM2PaJFDpnXyPvNrt4LMC85glUcL8G ev9Fe7oauD7xeUoRyCYCe28czosS57T6yGp97c4V+YCcfipq0byBhGkPpxl2asdZhbC9 z+AA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm6si3805118edb.554.2021.03.25.00.53.30; Thu, 25 Mar 2021 00:53:53 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbhCYHuc (ORCPT + 99 others); Thu, 25 Mar 2021 03:50:32 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:14873 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbhCYHuV (ORCPT ); Thu, 25 Mar 2021 03:50:21 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F5cfT1D0Hz9sdP; Thu, 25 Mar 2021 15:48:17 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Thu, 25 Mar 2021 15:50:09 +0800 From: Xiongfeng Wang To: , , CC: , , , Subject: [PATCH 4/4] PCI/ATS: Correct pci_max_pasids() function name in header Date: Thu, 25 Mar 2021 15:51:44 +0800 Message-ID: <20210325075144.180030-5-wangxiongfeng2@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210325075144.180030-1-wangxiongfeng2@huawei.com> References: <20210325075144.180030-1-wangxiongfeng2@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pci/ats.c:490: warning: expecting prototype for pci_max_pasid(). Prototype was for pci_max_pasids() instead Reported-by: Hulk Robot Signed-off-by: Xiongfeng Wang --- drivers/pci/ats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c index 0d3719407b8b..6d7d64939f82 100644 --- a/drivers/pci/ats.c +++ b/drivers/pci/ats.c @@ -480,7 +480,7 @@ EXPORT_SYMBOL_GPL(pci_pasid_features); #define PASID_NUMBER_SHIFT 8 #define PASID_NUMBER_MASK (0x1f << PASID_NUMBER_SHIFT) /** - * pci_max_pasid - Get maximum number of PASIDs supported by device + * pci_max_pasids - Get maximum number of PASIDs supported by device * @pdev: PCI device structure * * Returns negative value when PASID capability is not present. -- 2.20.1