Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2380759pxb; Sat, 25 Sep 2021 05:50:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyECJ54wbM40oTwLkq7pN4nOlgqijyjyeutRErxnwLy8ZzIu0B3MSVA4WsXBr/3egFl167r X-Received: by 2002:a50:ee83:: with SMTP id f3mr10870472edr.263.1632574257397; Sat, 25 Sep 2021 05:50:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632574257; cv=none; d=google.com; s=arc-20160816; b=VRwTAlsl84sx4A1K+NhVqrhvTx35WF1o+Jl9HuIUTe8ohgvBKMDayzfX8SPtAWnjpt IMZsNEzHWusA5/kbdEfnid0StSROK8X/Wibx+zhjgJlppWkJGxIPxt0eCEuv5HSFyBTY Sp8k1HgBqzJRC0ZnjULHs0KhaCkc66p7Uj1WVZYGTs+9/Chx2m+UXYzKcaxHqLPxAXV1 F945pkOhnS0eK27DPpTfLzn+gvl9eo8UabHDDhFdyuA/nuYUGuECiTldES9VUiP9UlCv QwkJO+fXsOsUYSp5LTeC9GJ+sYVGRQPzPAtB4S4eGh7bsqgyn/I9wsPYUkq4QIkx4fxz knLw== 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=T4IR21G9lda2sm1OcruNpdsELWZ/wB5BdzF9mbBY72k=; b=S+gCzmQBSGNHDPqFhJxOMrslBej2h2WgGthw0w5Cpo8l8GfSWFEqohausYRIsjf1lR 945FghRaSa8lFVeVyhA7J2Y7nHep/6zjbe95YMJ3FpdudZP0/zcYYAMOxGGnEwi3IFde 1gxkX1cuaz4DAbIS7POCeXcvFAwWulyyQdEkdU3rJsfnhNBu6z1euuPd1QBYpsvuPhiA OMPpT93iQ3wOnSQsL07BG32feAlw4qgLPCu1uqAmX32TEYE/33/hvmVjGPH+a6rUcMFD 7YyqkATRPImZjPyQGYgMVDWb8GIK55IQn1U7jzKniHxA53a8icVdKMUMDvau8b5UqOgy /hXA== 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 yd27si12209333ejb.49.2021.09.25.05.50.33; Sat, 25 Sep 2021 05:50:57 -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 S245244AbhIYMs1 (ORCPT + 99 others); Sat, 25 Sep 2021 08:48:27 -0400 Received: from mx24.baidu.com ([111.206.215.185]:40376 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S245193AbhIYMs1 (ORCPT ); Sat, 25 Sep 2021 08:48:27 -0400 Received: from BC-Mail-Ex05.internal.baidu.com (unknown [172.31.51.45]) by Forcepoint Email with ESMTPS id 2CDDB6943D6882A028E3; Sat, 25 Sep 2021 20:46:51 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex05.internal.baidu.com (172.31.51.45) 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:46:50 +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:46:50 +0800 From: Cai Huoqing To: CC: Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" , , Subject: [PATCH] scsi: aic7xxx: Fix a function name in comments Date: Sat, 25 Sep 2021 20:46:44 +0800 Message-ID: <20210925124645.356-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_alloc_coherent() instead of pci_alloc_consistent(), because only dma_alloc_coherent() is called here. Signed-off-by: Cai Huoqing --- drivers/scsi/aic7xxx/aic79xx_osm.h | 2 +- drivers/scsi/aic7xxx/aic7xxx_osm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index 35ec24f28d2c..08dbca690975 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h @@ -196,7 +196,7 @@ int ahd_dmamap_unload(struct ahd_softc *, bus_dma_tag_t, bus_dmamap_t); /* * XXX * ahd_dmamap_sync is only used on buffers allocated with - * the pci_alloc_consistent() API. Although I'm not sure how + * the dma_alloc_consistent() API. Although I'm not sure how * this works on architectures with a write buffer, Linux does * not have an API to sync "coherent" memory. Perhaps we need * to do an mb()? diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.h b/drivers/scsi/aic7xxx/aic7xxx_osm.h index 53240f53b654..bd9632a2f681 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.h +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.h @@ -209,7 +209,7 @@ int ahc_dmamap_unload(struct ahc_softc *, bus_dma_tag_t, bus_dmamap_t); /* * XXX * ahc_dmamap_sync is only used on buffers allocated with - * the pci_alloc_consistent() API. Although I'm not sure how + * the dma_alloc_consistent() API. Although I'm not sure how * this works on architectures with a write buffer, Linux does * not have an API to sync "coherent" memory. Perhaps we need * to do an mb()? -- 2.25.1