Re: [PATCH] scripts/spelling.txt: drop "sepc" from the misspelling list

From: Joe Perches
Date: Sun May 19 2019 - 14:08:27 EST


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/net/wireless/realtek/rtlwifi/wifi.h:/* Ref: 802.11i sepc D10.0 7.3.2.25.1
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