Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
scripts/spelling.txt: drop "sepc" from the misspelling list
Browse files Browse the repository at this point in the history
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.

[[email protected]: fix existing "sepc" instances, per Joe]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Paul Walmsley <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
paul-walmsley-sifive authored and torvalds committed Jul 12, 2019
1 parent fe7d14f commit cc0e5f1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kvm/book3s_xics.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ static noinline int kvmppc_h_eoi(struct kvm_vcpu *vcpu, unsigned long xirr)
*
* 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
Expand Down
2 changes: 1 addition & 1 deletion arch/unicore32/include/mach/regs-gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtlwifi/wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,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 {
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/lpfc/lpfc_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -2963,7 +2963,7 @@ lpfc_stop_hba_timers(struct lpfc_hba *phba)
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:
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723bs/hal/rtl8723b_phycfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ static u32 phy_CalculateBitShift(u32 BitMask)
/**
* Function: PHY_QueryBBReg
*
* OverView: Read "sepcific bits" from BB register
* OverView: Read "specific bits" from BB register
*
* Input:
* struct adapter * Adapter,
Expand Down
1 change: 0 additions & 1 deletion scripts/spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,6 @@ senarios||scenarios
sentivite||sensitive
separatly||separately
sepcify||specify
sepc||spec
seperated||separated
seperately||separately
seperate||separate
Expand Down

0 comments on commit cc0e5f1

Please sign in to comment.