Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1591054ybm; Tue, 21 May 2019 17:15:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvuw9GX1PM2B72rbKdA+13ULgD8Jg5oaj5gTwS48mffmVGukbuipcx/SYtpMag7nGJWuN3 X-Received: by 2002:a63:2ad2:: with SMTP id q201mr84274048pgq.94.1558484149585; Tue, 21 May 2019 17:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558484149; cv=none; d=google.com; s=arc-20160816; b=dQ2zop9rUv5JmSA/Xgd1gecaMLAW9+HM1RUa26vfj4OVstawN+YVg4/PveENPglA3G jPKC8q1QSq3izKBuSWcFBFxNcC2G2db/70oYTLB2YA3S8fhuYzXGbfcMzw3uuUuzOsRq WbHTJVb8ju4DU7vLXufpIxn5lE47RlFZq+QS0ZjnsWCpcQE8ZXPJhb7m2Lj0+ird2Dv9 xhyKy/7HD2Kfj2pDWh1juuO6ROEcgAlFF4RBjKZJPBDhsPyVqWtEjPET2iCQSwAB+Y4n N5F9eyC5DMBM+NEppWB/JZqupDZByk0fBQ7ypZ3rfM+y+PMDA7h7Cz7sRDK6/EY2Hrn1 2jZQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=G1CePSeHqA7g+u12qg3xeBpZxbUi5L06uTDjCOeOPNI=; b=YjUzDE3r/f4rLshx7TyoB44lhmAr/J7dng32sL6c9tnLaBbuwGT+gObPswLwsdUyqs Fwncj3n6acVvTBxCqX+t37hgjGQTJuNz+F+oseiJxm4SeR4p3rSkJ5u/VcVn8EWDBgDj ffEkTr7yytd8bB0avHBIK373O4AshVPugSrBbzxYDT14MGM19KIjZy4BKZCBHCvBJJiQ b2WzolIkGghIV6GapwmJCPASjgGESVly8CrXkkeoUdrsbBshaQZHU+UP4sdfEaZ5hUg7 EyXM00zmILBLCh/p90Q6Y7a3oQpLVlBTgkA8ZPRfN/lEywPSCLnrn9SrKeifsB8OE/Zz QWfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oLSNEzDm; 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 q195si6804219pgq.119.2019.05.21.17.15.33; Tue, 21 May 2019 17:15:49 -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; dkim=pass header.i=@kernel.org header.s=default header.b=oLSNEzDm; 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 S1727733AbfEVAOY (ORCPT + 99 others); Tue, 21 May 2019 20:14:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:45720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbfEVAOY (ORCPT ); Tue, 21 May 2019 20:14:24 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C84D921773; Wed, 22 May 2019 00:14:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558484062; bh=tBUlh7t4ziJIcxmShUGJnmzqdE/W3H7m9a3/sy7TF5I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oLSNEzDmqFj7jLXPvQ3g4WURAHlo6UFEUiGi0QquRUiCvNNoqotBiH3eypXFjfBg9 zPr8X2BLt365raBut96Q4gD5Q3ucP/BwXvLE+akh3yjczbESjFok9G6DFmgiKZLjWn B8cZEIuTJHhGUS0cIITDrCXdx/oBKbKsBSV7naHI= Date: Tue, 21 May 2019 17:14:22 -0700 From: Andrew Morton To: Paul Walmsley Cc: Joe Perches , linux-kernel@vger.kernel.org Subject: Re: [PATCH] scripts/spelling.txt: drop "sepc" from the misspelling list Message-Id: <20190521171422.c7ef965e39b27f6142788412@linux-foundation.org> In-Reply-To: References: <20190518210037.13674-1-paul.walmsley@sifive.com> <201b9ab622b8359225f3a3b673a05047ffce5744.camel@perches.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 19 May 2019 11:24:22 -0700 (PDT) Paul Walmsley wrote: > On Sat, 18 May 2019, Joe Perches wrote: > > > On Sat, 2019-05-18 at 14:00 -0700, Paul Walmsley wrote: > > > The RISC-V architecture has a register named the "Supervisor Exception > > > Program Counter", or "sepc". This abbreviation triggers > > > checkpatch.pl's misspelling detector, resulting in noise in the > > > checkpatch output. The risk that this noise could cause more useful > > > warnings to be missed seems to outweigh the harm of an occasional > > > misspelling of "spec". Thus drop the "sepc" entry from the > > > misspelling list. > > > > I would agree if you first fixed the existing sepc/spec > > and sepcific/specific typos. > > > > arch/powerpc/kvm/book3s_xics.c: * a pending interrupt, this is a SW error and PAPR sepcifies > > arch/unicore32/include/mach/regs-gpio.h: * Sepcial Voltage Detect Reg GPIO_GPIR. > > drivers/scsi/lpfc/lpfc_init.c: /* Stop any OneConnect device sepcific driver timers */ > > drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c:* OverView: Read "sepcific bits" from BB register > > drivers/net/wireless/realtek/rtlwifi/wifi.h:/* Ref: 802.11i sepc D10.0 7.3.2.25.1 > > Your agreement shouldn't be needed for the patch I sent. I always find Joe's input to be very useful. Here: From: Andrew Morton Subject: scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix fix existing "sepc" instances, per Joe Cc: Joe Perches Cc: Paul Walmsley Signed-off-by: Andrew Morton --- arch/powerpc/kvm/book3s_xics.c | 2 +- arch/unicore32/include/mach/regs-gpio.h | 2 +- drivers/net/wireless/realtek/rtlwifi/wifi.h | 2 +- drivers/scsi/lpfc/lpfc_init.c | 2 +- drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) --- a/arch/powerpc/kvm/book3s_xics.c~scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix +++ a/arch/powerpc/kvm/book3s_xics.c @@ -830,7 +830,7 @@ static noinline int kvmppc_h_eoi(struct * * Note: If EOI is incorrectly used by SW to lower the CPPR * value (ie more favored), we do not check for rejection of - * a pending interrupt, this is a SW error and PAPR sepcifies + * a pending interrupt, this is a SW error and PAPR specifies * that we don't have to deal with it. * * The sending of an EOI to the ICS is handled after the --- a/arch/unicore32/include/mach/regs-gpio.h~scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix +++ a/arch/unicore32/include/mach/regs-gpio.h @@ -32,7 +32,7 @@ */ #define GPIO_GEDR (PKUNITY_GPIO_BASE + 0x0018) /* - * Sepcial Voltage Detect Reg GPIO_GPIR. + * Special Voltage Detect Reg GPIO_GPIR. */ #define GPIO_GPIR (PKUNITY_GPIO_BASE + 0x0020) --- a/drivers/net/wireless/realtek/rtlwifi/wifi.h~scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix +++ a/drivers/net/wireless/realtek/rtlwifi/wifi.h @@ -597,7 +597,7 @@ enum ht_channel_width { HT_CHANNEL_WIDTH_MAX, }; -/* Ref: 802.11i sepc D10.0 7.3.2.25.1 +/* Ref: 802.11i spec D10.0 7.3.2.25.1 * Cipher Suites Encryption Algorithms */ enum rt_enc_alg { --- a/drivers/scsi/lpfc/lpfc_init.c~scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix +++ a/drivers/scsi/lpfc/lpfc_init.c @@ -2963,7 +2963,7 @@ lpfc_stop_hba_timers(struct lpfc_hba *ph del_timer_sync(&phba->fcp_poll_timer); break; case LPFC_PCI_DEV_OC: - /* Stop any OneConnect device sepcific driver timers */ + /* Stop any OneConnect device specific driver timers */ lpfc_sli4_stop_fcf_redisc_wait_timer(phba); break; default: --- a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c~scripts-spellingtxt-drop-sepc-from-the-misspelling-list-fix +++ a/drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c @@ -45,7 +45,7 @@ static u32 phy_CalculateBitShift(u32 Bit /** * Function: PHY_QueryBBReg * -* OverView: Read "sepcific bits" from BB register +* OverView: Read "specific bits" from BB register * * Input: * struct adapter * Adapter, _