Skip to contentSkip to conversation

fs: attr: fix comment formatting and spelling issues

PATCH Applied Chelsy Ratnawat 2 participants 2 messages Apr 3 – Apr 7 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: attr: fix comment formatting and spelling issues

Fix minor comment issues in fs/attr.c reported by checkpatch:
- Wrap long comment lines to comply with the 75-character limit
- Correct spelling of “overriden” to “overridden”

No functional changes.

---
 fs/attr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
fs/attr.c +3 -3
index e7d7c6d19fe9..ded221defae6 100644
@@ -46,8 +46,8 @@ int setattr_should_drop_sgid(struct mnt_idmap *idmap,
 EXPORT_SYMBOL(setattr_should_drop_sgid);
 
 /**
- * setattr_should_drop_suidgid - determine whether the set{g,u}id bit needs to
- *                               be dropped
+ * setattr_should_drop_suidgid - determine whether the set{g,u}id bit
+ *                               needs to be dropped
  * @idmap:	idmap of the mount @inode was found from
  * @inode:	inode to check
  *
@@ -165,7 +165,7 @@ int setattr_prepare(struct mnt_idmap *idmap, struct dentry *dentry,
 	unsigned int ia_valid = attr->ia_valid;
 
 	/*
-	 * First check size constraints.  These can't be overriden using
+	 * First check size constraints.  These can't be overridden using
 	 * ATTR_FORCE.
 	 */
 	if (ia_valid & ATTR_SIZE) {
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Chelsy Ratnawat

Fix minor comment issues in fs/attr.c reported by checkpatch:
- Wrap long comment lines to comply with the 75-character limit
- Correct spelling of “overriden” to “overridden”

No functional changes.

[...]

Applied to the vfs-7.1.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.1.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.1.misc

[1/1] fs: attr: fix comment formatting and spelling issues

      https://git.kernel.org/vfs/vfs/c/4639f1cfba03