Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp167064pxf; Thu, 25 Mar 2021 00:51:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyxZWoe8CUKg6HLpU/BTynpc7oq0CN0QwpKIO187EUgaHeEIQFfpiUaKTQTP524098tZqf X-Received: by 2002:a17:906:3295:: with SMTP id 21mr7878789ejw.88.1616658711574; Thu, 25 Mar 2021 00:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616658711; cv=none; d=google.com; s=arc-20160816; b=qdhsAZArtOR0vV9FT+MM5tWMgE8rj9Qsn0NFaBWznO7/jZYnvdIbYCsrQRPBJyyQ3V sNZI16xhufHlmZtOVdfL2eso7Fhxvm0EJNMoSxki1sUI52CSERK4/0CgoRaRtErKiFwE 8FC/UJ2ADxqtNBEbH3ZMl7oRLm0tOjnpSNx6CxJFV5KD2fF4/HpM/YXnQtqjjVLQ1q4k qrSPXRjzqLT6usXhAnNH4ccbPQu73495p4OMQv8Oe0NdsV1TUaX/nRbe2HcVKdUBF+i8 4auqfbloaQWe/GBHumme7QaU3CLJPPDw/LHMazVkPNfx9sAecgBPYvk4r6QDKJmC7Kaf VXYQ== 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=O0R2C2ZPKwPSS8y6rmSyrrcsyBWMJc0WlK6JEHVaZsI=; b=rdaLU+OZxRBvZj9qWE3TyzdDlEM9G0ef9AAmuYhX8fDa+2J1aLbxt4oqJ8PpX9c+D+ l0O3nsbdBDjwEGDZ5awGCJjkd7nlprneBb/vHprX3rdDfEaef3YFqVCE7/wjm0RAMVg3 90gShnqBEMgBDbEfgPZ0LlRsOoW2wWUbTp+LQhA5A8jiyP67IRXlr9idVHZLx/Utxzjj 2qpAUkNBRDSeKhpQKGRTCpG++OFPBD+LfaHd0FK8wpJYHXjharIovd4ea92khS3/jtAC suyx/yJaV3iEVGY0rS5DjuoAR1skVRJD5yTQP9xSIxZavegTe+3CX3vH55PmRWWdqhvi vpCQ== 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.51.29; Thu, 25 Mar 2021 00:51:51 -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 S229923AbhCYHua (ORCPT + 99 others); Thu, 25 Mar 2021 03:50:30 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14587 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbhCYHuT (ORCPT ); Thu, 25 Mar 2021 03:50:19 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F5cfT4Nsxz19JB9; 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:07 +0800 From: Xiongfeng Wang To: , , CC: , , , Subject: [PATCH 1/4] PCI: acpi_pcihp: Correct acpi_pci_check_ejectable() function name in the header Date: Thu, 25 Mar 2021 15:51:41 +0800 Message-ID: <20210325075144.180030-2-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/hotplug/acpi_pcihp.c:167: warning: expecting prototype for acpi_pcihp_check_ejectable(). Prototype was for acpi_pci_check_ejectable() instead Reported-by: Hulk Robot Signed-off-by: Xiongfeng Wang --- drivers/pci/hotplug/acpi_pcihp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/hotplug/acpi_pcihp.c b/drivers/pci/hotplug/acpi_pcihp.c index 2750a64cecd3..4fedebf2f8c1 100644 --- a/drivers/pci/hotplug/acpi_pcihp.c +++ b/drivers/pci/hotplug/acpi_pcihp.c @@ -157,7 +157,7 @@ static int pcihp_is_ejectable(acpi_handle handle) } /** - * acpi_pcihp_check_ejectable - check if handle is ejectable ACPI PCI slot + * acpi_pci_check_ejectable - check if handle is ejectable ACPI PCI slot * @pbus: the PCI bus of the PCI slot corresponding to 'handle' * @handle: ACPI handle to check * -- 2.20.1