Skip to contentSkip to conversation

landlock: fix grammar and spelling error

PATCH In review Tanya Agarwal 3 participants 4 messages Jan 23, 2025 – Jan 24, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 landlock: fix grammar and spelling error

From: Tanya Agarwal <[email protected]>

Fix grammar and spelling error in landlock module comments that were identified using the codespell tool.
No functional changes - documentation only.

---
Original discussion:
https://lore.kernel.org/all/[email protected]

This patch set is split into individual patches for each LSM to facilitate easier review by respective maintainers.

 security/landlock/ruleset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/landlock/ruleset.c +1 -1
index a93bdbf52fff..c464d1f84792 100644
@@ -121,7 +121,7 @@ create_rule(const struct landlock_id id,
 		return ERR_PTR(-ENOMEM);
 	RB_CLEAR_NODE(&new_rule->node);
 	if (is_object_pointer(id.type)) {
-		/* This should be catched by insert_rule(). */
+		/* This should have been caught by insert_rule(). */
 		WARN_ON_ONCE(!id.key.object);
 		landlock_get_object(id.key.object);
 	}
Signature · 1 line
2.39.5
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 34 lines · Tanya Agarwal

From: Tanya Agarwal <[email protected]>

Fix grammar and spelling error in landlock module comments that were identified using the codespell tool.
No functional changes - documentation only.

---
Original discussion:
https://lore.kernel.org/all/[email protected]

This patch set is split into individual patches for each LSM to facilitate easier review by respective maintainers.

 security/landlock/ruleset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/landlock/ruleset.c +1 -1
index a93bdbf52fff..c464d1f84792 100644
@@ -121,7 +121,7 @@ create_rule(const struct landlock_id id,
 		return ERR_PTR(-ENOMEM);
 	RB_CLEAR_NODE(&new_rule->node);
 	if (is_object_pointer(id.type)) {
-		/* This should be catched by insert_rule(). */
+		/* This should have been caught by insert_rule(). */
 		WARN_ON_ONCE(!id.key.object);
 		landlock_get_object(id.key.object);
 	}
Signature · 1 line
2.39.5

Thanks!

—Günther

maintainer
#2 lore raw
In reply to Tanya Agarwal
Quoted 8 lines · Tanya Agarwal

From: Tanya Agarwal <[email protected]>

Fix grammar and spelling error in landlock module comments that were identified using the codespell tool.
No functional changes - documentation only.

I think Mimi's tag was for the IMA part, so I'll remove it.

Quoted 15 lines

---
Original discussion:
https://lore.kernel.org/all/[email protected]

This patch set is split into individual patches for each LSM to facilitate easier review by respective maintainers.

 security/landlock/ruleset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/landlock/ruleset.c +0 -0
index a93bdbf52fff..c464d1f84792 100644

security/landlock/ruleset.c create_rule(const struct landlock_id id, · line 127

Quoted 8 lines
security/landlock/ruleset.c +1 -1
@@ -121,7 +121,7 @@ create_rule(const struct landlock_id id,
 		return ERR_PTR(-ENOMEM);
 	RB_CLEAR_NODE(&new_rule->node);
 	if (is_object_pointer(id.type)) {
-		/* This should be catched by insert_rule(). */
+		/* This should have been caught by insert_rule(). */
 		WARN_ON_ONCE(!id.key.object);
 		landlock_get_object(id.key.object);
 	}

Thanks, I'll take it in my tree.

#3 lore raw
Quoted 23 lines · Mickaël Salaün
Quoted 8 lines · Tanya Agarwal

From: Tanya Agarwal <[email protected]>

Fix grammar and spelling error in landlock module comments that were identified using the codespell tool.
No functional changes - documentation only.

I think Mimi's tag was for the IMA part, so I'll remove it.

Quoted 10 lines

---
Original discussion:
https://lore.kernel.org/all/[email protected]

This patch set is split into individual patches for each LSM to facilitate easier review by respective maintainers.

 security/landlock/ruleset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines

security/landlock/ruleset.c create_rule(const struct landlock_id id, · line 127

Quoted 13 lines
security/landlock/ruleset.c +1 -1
index a93bdbf52fff..c464d1f84792 100644
@@ -121,7 +121,7 @@ create_rule(const struct landlock_id id,
              return ERR_PTR(-ENOMEM);
      RB_CLEAR_NODE(&new_rule->node);
      if (is_object_pointer(id.type)) {
-             /* This should be catched by insert_rule(). */
+             /* This should have been caught by insert_rule(). */
              WARN_ON_ONCE(!id.key.object);
              landlock_get_object(id.key.object);
      }

Thanks, I'll take it in my tree.

Thanks Mickael.

Regards,
Tanya