Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2381968pxb; Sat, 25 Sep 2021 05:53:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPIAozpOYwh+SCro5+A4oVKnPWPYTXYkGuSIKQhF1m4KQWl399EqOFaSKIb3BIFJFavE/g X-Received: by 2002:a17:906:7c86:: with SMTP id w6mr5067365ejo.215.1632574389936; Sat, 25 Sep 2021 05:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632574389; cv=none; d=google.com; s=arc-20160816; b=s1KLZ3TlcshzJ1HXC7IUpnJwtaFKzy4lu11ATk3Vxv2NJDXvlAWm9pbJfvUBjEwVik rBaZDbT2DSIOjyD36TXfoONkjGibvihgxNWrqJNVChG79gdc4DhILLvS7fgL2OOjqcvQ mmtMJ5CpKb1rmYIOoiQ/q5lEaq+4BME/UTqXHzZvbQCEbjaRYCiceOY8LwxkvgqWJ/Ut oJ7FqVgJUACxlMUTpRp7McFSrLRfrBykT8iulqCWrCGfv5MPla3JZiQjFkPeKvCP3zHL OPe4M0dXAmwRqO2SerqYWnubPKzZF/cGm7CMT8qMGJh8HNiupdj7lcHi/KfgzRCCX131 P8+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=SDWjJM0DcyuXT88J2UkqXs+SmbjOfMP3bIK1Lfnn5E8=; b=QxbWhyM2tYCSLaQKRNpICLVmxK4yxqlZhlSrF505mu21gy7TwhOx6fzqp9zmDgN5gG eZobsYGaCqskTF7cDYG2hZgBd6i5tZg5+ljahxgk6VWqRJ7kmtbjUlxtThgQvME/TmDb NK2Hcb2XsmERo/W7N8kNtLks0CdKdrHQ5LsoCocK6fROcTqggirXociXpkDYv+mZTZUJ nnUUBKP/earsY4Qb+7IG4DBRezY9SQnmmFvI69WtE/0XhYxciTTYbtCY9rn5AGJ7fQu8 1IfFbNirYgHH3hwaw6nyGvVgUpWEtnHPFiA1lDePq2hpSi8M1G0LyKU8IzwsVeG9EpfW V5nQ== 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 o2si12151572eds.325.2021.09.25.05.52.46; Sat, 25 Sep 2021 05:53:09 -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 S245403AbhIYMwe (ORCPT + 99 others); Sat, 25 Sep 2021 08:52:34 -0400 Received: from mx24.baidu.com ([111.206.215.185]:43234 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244795AbhIYMw1 (ORCPT ); Sat, 25 Sep 2021 08:52:27 -0400 Received: from BC-Mail-Ex06.internal.baidu.com (unknown [172.31.51.46]) by Forcepoint Email with ESMTPS id E40CD237CB2DABF10104; Sat, 25 Sep 2021 20:50:51 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex06.internal.baidu.com (172.31.51.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.12; Sat, 25 Sep 2021 20:50:51 +0800 Received: from LAPTOP-UKSR4ENP.internal.baidu.com (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Sat, 25 Sep 2021 20:50:51 +0800 From: Cai Huoqing To: CC: Chris Snook , "David S. Miller" , Jakub Kicinski , Michael Chan , Francois Romieu , "Steve Glendinning" , , Subject: [PATCH 1/4] net: atl1c: Fix a function name in print messages Date: Sat, 25 Sep 2021 20:50:38 +0800 Message-ID: <20210925125042.1629-1-caihuoqing@baidu.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BJHW-Mail-Ex01.internal.baidu.com (10.127.64.11) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use dma_map_single() instead of pci_map_single(), because the pci function wrappers are not called here. Signed-off-by: Cai Huoqing --- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 20c032ab631b..1c258e4ddc96 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -1847,7 +1847,7 @@ static int atl1c_alloc_rx_buffer(struct atl1c_adapter *adapter, u32 queue, buffer_info->skb = NULL; buffer_info->length = 0; ATL1C_SET_BUFFER_STATE(buffer_info, ATL1C_BUFFER_FREE); - netif_warn(adapter, rx_err, adapter->netdev, "RX pci_map_single failed"); + netif_warn(adapter, rx_err, adapter->netdev, "RX dma_map_single failed"); break; } buffer_info->dma = mapping; -- 2.25.1