Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6303393ybi; Sun, 21 Jul 2019 14:29:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhtChMP1+CquJ2nkssY9Nx0cRZs/TOA6LI7rFGHekYhY9vVx3UNm+ulYSiNSyr6VRipPnB X-Received: by 2002:a17:902:2be8:: with SMTP id l95mr66207129plb.231.1563744579743; Sun, 21 Jul 2019 14:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563744579; cv=none; d=google.com; s=arc-20160816; b=RX4ko6XgjPkkha+JDUdDnL6/Qme1l8vYNE1Rmj7xl/L1Rch2gZx78Cd+N0JVtOxNy2 kEoCbgTJ2690qS2xwTpDP0rW+gyOtzfUj5MRXcmay2AjkC5u06H7tDl/DR5juRhwQCCn rIeY6GzWgzsEJid69Xq5eFtzdffZDbTvD0BEo4s++LnWKC0dSaN12DckwBMGA8imazQm zKqd0w8Y6Lejt0dy8CHLWvxAxI/gawzm85m+f2IuV4p3RB+FggRNIvo0zJR+IbQpcHWU U6zj0rjjbQwqvSZCtlI2t7RMf1FCE5IiuWvm6htCn1URIA/hEcMdtOLaIOLwqXTndPuJ dTIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=b1jX7uJxmU63SdLCNmE/4uBDNDrU2vwNIXS3/B/Wi38=; b=YpLDOw2d3+E8Ry0uwTd1yuu5sbX/h5XPsNZq2FlgiHnCJxWv6Z7PahC+VZzmfaArLD pjD+LUoKdT6BN4BkhKDXJujwVvjqSjWjwXPUiynH9s9hrG9PeD3FSGez5Hk/K8dteWq2 TnIJO08VPJKsSBx71XMy5RNrDex7R+onWVk/4ezR8ELWarxcQAiLIs94Ze/55Foyjo0q yo1L/uUfnDT2UrbfNUNK3lSP756rkshB0f9eIHqdYBb8CdY6EsMoq/72sLvrTmcweZlF qBsUZdcRD+ma42/gOc+WMYu7t6c7Ia3wjwpCUFuSV2ouzS2OckajPaaSI7xWVqek1wcq aBrQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si7422998pgm.131.2019.07.21.14.29.24; Sun, 21 Jul 2019 14:29:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726440AbfGUU7Z (ORCPT + 99 others); Sun, 21 Jul 2019 16:59:25 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:52544 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbfGUU7Y (ORCPT ); Sun, 21 Jul 2019 16:59:24 -0400 Received: from cpc129250-craw9-2-0-cust139.know.cable.virginm.net ([82.43.126.140] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1hpIvR-00079E-Q3; Sun, 21 Jul 2019 20:59:21 +0000 From: Colin King To: Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ia64: tioca: fix spelling mistake in macros CA_APERATURE_{BASE|SIZE} Date: Sun, 21 Jul 2019 21:59:21 +0100 Message-Id: <20190721205921.9960-1-colin.king@canonical.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin Ian King The two macros CA_APERATURE_BASE and CA_APERATURE_SIZE contain a spelling mistake, APERATURE should be APERTURE, so fix these. Signed-off-by: Colin Ian King --- arch/ia64/include/asm/sn/tioca.h | 4 ++-- arch/ia64/sn/pci/tioca_provider.c | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/ia64/include/asm/sn/tioca.h b/arch/ia64/include/asm/sn/tioca.h index 666222d7f0f6..4529fb11c86c 100644 --- a/arch/ia64/include/asm/sn/tioca.h +++ b/arch/ia64/include/asm/sn/tioca.h @@ -590,7 +590,7 @@ struct tioca { #define CA_AGP_DIRECT_BASE 0x40000000UL /* 2GB */ #define CA_AGP_DIRECT_SIZE 0x40000000UL -#define CA_APERATURE_BASE (CA_AGP_MAPPED_BASE) -#define CA_APERATURE_SIZE (CA_AGP_MAPPED_SIZE+CA_PCI32_MAPPED_SIZE) +#define CA_APERTURE_BASE (CA_AGP_MAPPED_BASE) +#define CA_APERTURE_SIZE (CA_AGP_MAPPED_SIZE+CA_PCI32_MAPPED_SIZE) #endif /* _ASM_IA64_SN_TIO_TIOCA_H */ diff --git a/arch/ia64/sn/pci/tioca_provider.c b/arch/ia64/sn/pci/tioca_provider.c index a70b11fd57d6..07832f5e8718 100644 --- a/arch/ia64/sn/pci/tioca_provider.c +++ b/arch/ia64/sn/pci/tioca_provider.c @@ -55,7 +55,7 @@ tioca_gart_init(struct tioca_kernel *tioca_kern) * Validate aperature size */ - switch (CA_APERATURE_SIZE >> 20) { + switch (CA_APERTURE_SIZE >> 20) { case 4: ap_reg |= (0x3ff << CA_GART_AP_SIZE_SHFT); /* 4MB */ break; @@ -90,8 +90,8 @@ tioca_gart_init(struct tioca_kernel *tioca_kern) ap_reg |= (0x000 << CA_GART_AP_SIZE_SHFT); /* 4 GB */ break; default: - printk(KERN_ERR "%s: Invalid CA_APERATURE_SIZE " - "0x%lx\n", __func__, (ulong) CA_APERATURE_SIZE); + printk(KERN_ERR "%s: Invalid CA_APERTURE_SIZE " + "0x%lx\n", __func__, (ulong) CA_APERTURE_SIZE); return -1; } @@ -106,8 +106,8 @@ tioca_gart_init(struct tioca_kernel *tioca_kern) tioca_kern->ca_ap_pagesize = 4096; } - tioca_kern->ca_ap_size = CA_APERATURE_SIZE; - tioca_kern->ca_ap_bus_base = CA_APERATURE_BASE; + tioca_kern->ca_ap_size = CA_APERTURE_SIZE; + tioca_kern->ca_ap_bus_base = CA_APERTURE_BASE; tioca_kern->ca_gart_entries = tioca_kern->ca_ap_size / tioca_kern->ca_ap_pagesize; @@ -141,7 +141,7 @@ tioca_gart_init(struct tioca_kernel *tioca_kern) * Compute PCI/AGP convenience fields */ - offset = CA_PCI32_MAPPED_BASE - CA_APERATURE_BASE; + offset = CA_PCI32_MAPPED_BASE - CA_APERTURE_BASE; tioca_kern->ca_pciap_base = CA_PCI32_MAPPED_BASE; tioca_kern->ca_pciap_size = CA_PCI32_MAPPED_SIZE; tioca_kern->ca_pcigart_start = offset / tioca_kern->ca_ap_pagesize; @@ -159,7 +159,7 @@ tioca_gart_init(struct tioca_kernel *tioca_kern) return -1; } - offset = CA_AGP_MAPPED_BASE - CA_APERATURE_BASE; + offset = CA_AGP_MAPPED_BASE - CA_APERTURE_BASE; tioca_kern->ca_gfxap_base = CA_AGP_MAPPED_BASE; tioca_kern->ca_gfxap_size = CA_AGP_MAPPED_SIZE; tioca_kern->ca_gfxgart_start = offset / tioca_kern->ca_ap_pagesize; -- 2.20.1