Skip to contentSkip to conversation

CHECKPATCH: correct spelling error, from "reqired" to "required"

PATCH New divlo 1 participant 1 message Jun 18, 2021

Subsystems (3)
lore
Share & tools
lore

divlo

author
#0 lore raw

PATCH 1/1 CHECKPATCH: correct spelling error, from "reqired" to "required"

---
 arch/s390/include/uapi/asm/pkey.h | 4 ++--
 fs/nfsd/xdr4.h                    | 6 +++---
 scripts/spelling.txt              | 1 +
 3 files changed, 6 insertions(+), 5 deletions(-)
arch/s390/include/uapi/asm/pkey.h +2 -2
index 7349e96d28a0..c04bc9e0614f 100644
@@ -365,7 +365,7 @@ struct pkey_kblob2pkey2 {
  * is empty (apqn_entries is 0) the apqn_entries field is updated to the number
  * of apqn targets found and the ioctl returns with 0. If apqn_entries is > 0
  * but the number of apqn targets does not fit into the list, the apqn_targets
- * field is updatedd with the number of reqired entries but there are no apqn
+ * field is updatedd with the number of required entries but there are no apqn
  * values stored in the list and the ioctl returns with ENOSPC. If no matching
  * APQN is found, the ioctl returns with 0 but the apqn_entries value is 0.
  */
@@ -403,7 +403,7 @@ struct pkey_apqns4key {
  * is empty (apqn_entries is 0) the apqn_entries field is updated to the number
  * of apqn targets found and the ioctl returns with 0. If apqn_entries is > 0
  * but the number of apqn targets does not fit into the list, the apqn_targets
- * field is updatedd with the number of reqired entries but there are no apqn
+ * field is updatedd with the number of required entries but there are no apqn
  * values stored in the list and the ioctl returns with ENOSPC. If no matching
  * APQN is found, the ioctl returns with 0 but the apqn_entries value is 0.
  */
fs/nfsd/xdr4.h +3 -3
index a7c425254fee..6496d6a2528a 100644
@@ -198,7 +198,7 @@ struct nfsd4_lockt {
 	struct nfsd4_lock_denied  	lt_denied;
 };
 
- 
+
 struct nfsd4_locku {
 	u32             lu_type;
 	u32             lu_seqid;
@@ -301,7 +301,7 @@ struct nfsd4_read {
 	u32			rd_length;          /* request */
 	int			rd_vlen;
 	struct nfsd_file	*rd_nf;
-	
+
 	struct svc_rqst		*rd_rqstp;          /* response */
 	struct svc_fh		*rd_fhp;             /* response */
 };
@@ -821,7 +821,7 @@ extern void nfsd4_bump_seqid(struct nfsd4_compound_state *, __be32 nfserr);
 enum nfsd4_op_flags {
 	ALLOWED_WITHOUT_FH = 1 << 0,    /* No current filehandle required */
 	ALLOWED_ON_ABSENT_FS = 1 << 1,  /* ops processed on absent fs */
-	ALLOWED_AS_FIRST_OP = 1 << 2,   /* ops reqired first in compound */
+	ALLOWED_AS_FIRST_OP = 1 << 2,   /* ops required first in compound */
 	/* For rfc 5661 section 2.6.3.1.1: */
 	OP_HANDLES_WRONGSEC = 1 << 3,
 	OP_IS_PUTFH_LIKE = 1 << 4,
scripts/spelling.txt +1 -0
index 7b6a01291598..6787c8d1db7f 100644
@@ -1227,6 +1227,7 @@ replys||replies
 reponse||response
 representaion||representation
 reqeust||request
+reqired||required
 reqister||register
 requestied||requested
 requiere||require
Signature · 1 line
2.25.1