Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2413877pxb; Sat, 25 Sep 2021 06:42:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLTgNyowqWQtfM9WoTToJQocv6J0tlStImFvICuMRzyzo1Rer3Da26Khn/blvvETDX4Xch X-Received: by 2002:a05:6402:1bde:: with SMTP id ch30mr11580942edb.278.1632577331264; Sat, 25 Sep 2021 06:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632577331; cv=none; d=google.com; s=arc-20160816; b=IvkTRHlUMCae7g7P0qYAvyanuyIcL01dRVTw/TUlDsgRLlIZLXnc/ltzwg3rHJqf18 EmGoHh4xmF8mRE/d/B57GHxX7soKH8+BEZ6kzPHXyDJpNma2eLeBY78Ip29uOZR3tLcD 2xw6/VgWVzgwvuqhhkM8luSM/4YfC/WyCzqhDXIk1sLXAdC6hqtUqdtnO9FJJ4gY6ui9 Jfl6OvTZ6ITXmktQ836BTIwzpJ5zFgaVLyVw4Lec7n+cihgzZgnh0+55SPPNRH9xzQAi NarbQska/xxMaHj5oZMPNhsQpCJJvqc+wdEzL1M9/BSpo+/NwyDxySeHKF8yuGYd5jIn yEOQ== 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=Ev7SOmPGCZw7AXjlCRbZrC2C62KIcM7jCxRY/0RFcwN1OtFaBemeg+rwEkvc0sKnot 7JB7V5+KKtBCWqBNmx42QC7qLSEcCS8j3heNDJe/iwlrczG4ViSX3YTd/S236dxTK0b7 dLk+H3ZyKmuydduDOKFl8wHo//hADTGNJTi+1RpJY9EEheH3nrMhCM85eAagjrXKYyor SimXBGsqjXDN0TfSws3VJsWLCXVGvVYS9RTCibkSEAOqy0tagnYXIFkRdrB9F3EvUsYz X/xNMcfs0ja6VzF4IVJB7pvc2Tda8l1LjyBHnPDep+yp7uELW/RLOfHnmhOlFbdZOLDP fhaw== 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 28si12817537ejh.738.2021.09.25.06.41.47; Sat, 25 Sep 2021 06:42:11 -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 S245687AbhIYNmB (ORCPT + 99 others); Sat, 25 Sep 2021 09:42:01 -0400 Received: from mx22.baidu.com ([220.181.50.185]:50162 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S245603AbhIYNmA (ORCPT ); Sat, 25 Sep 2021 09:42:00 -0400 Received: from BC-Mail-Ex11.internal.baidu.com (unknown [172.31.51.51]) by Forcepoint Email with ESMTPS id 58FE0390121CA6420987; Sat, 25 Sep 2021 21:40:22 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex11.internal.baidu.com (172.31.51.51) 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 21:40:22 +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 21:40:21 +0800 From: Cai Huoqing To: CC: Chris Snook , "David S. Miller" , Jakub Kicinski , Michael Chan , Francois Romieu , "Steve Glendinning" , , Subject: [PATCH v2 1/4] net: atl1c: Fix a function name in print messages Date: Sat, 25 Sep 2021 21:40:10 +0800 Message-ID: <20210925134014.251-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: BC-Mail-Ex31.internal.baidu.com (172.31.51.25) 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