Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6701020ybi; Sun, 21 Jul 2019 23:59:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxN9Y/4LLaVqIFd4ICwT5UHiWzJsplDQdC1IDvmkWlWHtZWW9J2BQ9E96bQ8GEKfcVwSFyW X-Received: by 2002:a17:902:968d:: with SMTP id n13mr26165282plp.257.1563778788301; Sun, 21 Jul 2019 23:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563778788; cv=none; d=google.com; s=arc-20160816; b=QihP08qpSjNakI086UibBhsndowE8z/tuphwwjW8PGDxANTJMMXX8V7zjDIrtBKran w7ub1rGS7L+r3Xc9lDdhYbCWfloKfiAVpus45x7rw3fay2HaLFDLecVBLG0Rl1tB05QH kQnimiDmu9DTdQygZHuVpIrW50+y1LZiaT03/Q6cZ/ubS1VWK91tEBfO0ScCWx98a7SE Zg9hs7oA+zLKFd9jwk7OcfJMtmo7AFHz8sowq12iIOnhj/pzbQaJbJ9X5NtXBARV6Qre FA3LBEMk2JiAKwjQsFfeNn0lE3LD12zdLXxn0YVaBdLRmAtn92UOaeNXkeO5byfTSEAb BxMg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=wQePSdfdHoffhne6klkQ1BXv1wf968DOCikTN+cKDII=; b=zGUdFw7CLEvXnh5wDgoMdSYYA+QXiaDF1iZZxZNoNEF+NApd5tTpHz6Ou0D+VJatw2 iu5f4r/aVE++7+99ZBBF6VrX/bVm9HMpqnWcEAQuTjfyme/wOAjZBEilfQA2WFKUEo60 fGXXF46l9BXoSIGm7SWQGJVJinOWMkHMbNsBuAEEtymLQniyZUBALvbMwricrpP+F3Ik si9nsITFXzQ0ctOD3DQZtLNqlovMsNt2Su4gpP3MQoYCy3IB8R86RiCxCoQFY66qCdKp 5piOhJdWnttht/fJg3OlpT/leRwfO9KhXjnXLdoVxgDsrFZ4NQjBl/Akl4KtzhkU2l+x W+XQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si8636491pfh.227.2019.07.21.23.59.32; Sun, 21 Jul 2019 23:59:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727701AbfGVG6d (ORCPT + 99 others); Mon, 22 Jul 2019 02:58:33 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:33825 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbfGVG6c (ORCPT ); Mon, 22 Jul 2019 02:58:32 -0400 Received: from [192.168.1.110] ([77.2.59.209]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mi2aH-1iK6C51qS1-00e5BX; Mon, 22 Jul 2019 08:58:28 +0200 Subject: Re: [PATCH] ia64: tioca: fix spelling mistake in macros CA_APERATURE_{BASE|SIZE} To: Colin King , Tony Luck , Fenghua Yu , linux-ia64@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190721205921.9960-1-colin.king@canonical.com> From: "Enrico Weigelt, metux IT consult" Organization: metux IT consult Message-ID: <0c45cb73-f869-a1ae-e2b9-f2297a6db8e1@metux.net> Date: Mon, 22 Jul 2019 08:58:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190721205921.9960-1-colin.king@canonical.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:pW3j4GvUOpOyHC+3k1Q37w9HoWfGi1ZoS4eS4SnudMZ/ZNW/OwG pF8S4K86INo3flLgyXk0udbAPuTqcK0thZJiTeUneU2EphH641SiW4pMjeET86aEkHGCAQj seMIcVrWsCOfcB189DBX0oecD0qjnBd2dol2KWKhdrJVObaPuLJ5TM6GwZkWzrkgHs2UhnY EEShaFWZeJ5uoak74B4NQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:XSVY6tdZ90E=:byR3JslXxV+cM38n57Pffw CtBDBub7zBtRWYQ549EmtL2+LpLdjOKnZ3aWFGZGudezmhZYm9MJjGWpe/clG8zYjrbWvZyzr W6h5YuoCjje+fMTq2axi4EkEO4HyFAvTZrKLpR0SZ7w4UaPGKTV1S8nMLXm19x7Ldl8jcp5LM mMZYVo9xeXZE85OfJ5DWp4/C7A6NXDuSmel6mXIOj+DrX2YyWIdFSGa8o4tjvne1gT5S9o7LX nTfWKiQkXzMp+R5G8BtNQ5HrdjgUfWHOPq0C0cF8XS34J5Sse0n2of6WIRAL1YYOCAII3tsb9 TeSyM/TfhOJbRsk9Jw3favTuwKRLGI/OPMt5xzJ9lAiQe3j3SKFPPkOboHsWAutvu6tVDTMSg CV7TAcbgvWhzlXqPGdgHQW+bG7raD0qj2vBeyqU3BM8NdiwVnn7+/8FqOAW5yKhIf/A3Rj2lx 1bHSzgFxcgqVMecByeg+BRSr9L7QOeKL2rODCHoPkcnwjcSqDwNQynKTW8FJrjo3gfziVsmU/ CePNy7qM7vnqD4iCj37/Xa50YnsC+UwauBioMlxo08OHFGJr1cZwOU8EAeDVtOjqatROMNYit /sgWBY/N/YKi7kvfN0BCTNCXFTrs9Dc/1Mv682Dqpy7qGvFwH9ANLFzfjQgL+vKI7Kb8OI6TG kV1L/83fF1zPqiCl2pP9L1H9yA6dN1Rk9MXopHTuk28Gh+BpUq2vqXJqDSCiUbb/RTP0e9TVV 2PHu+09JBgPwvzHm09DAAH+PHBgh6zCK8zE81zHx+qZPlCwukT4rG4W73x0= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21.07.19 22:59, Colin King wrote: > 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; > Reviewed-By: Enrico Weigelt -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287