Skip to content

Commit 143c9aa

Browse files
TanyaAgarwal25l0kod
authored andcommitted
landlock: Fix grammar error
Fix grammar error in comments that were identified using the codespell tool. Signed-off-by: Tanya Agarwal <[email protected]> Reviewed-by: Günther Noack <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mic: Simplify commit message] Signed-off-by: Mickaël Salaün <[email protected]>
1 parent 89cb121 commit 143c9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/landlock/ruleset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ create_rule(const struct landlock_id id,
124124
return ERR_PTR(-ENOMEM);
125125
RB_CLEAR_NODE(&new_rule->node);
126126
if (is_object_pointer(id.type)) {
127-
/* This should be catched by insert_rule(). */
127+
/* This should have been caught by insert_rule(). */
128128
WARN_ON_ONCE(!id.key.object);
129129
landlock_get_object(id.key.object);
130130
}

0 commit comments

Comments
 (0)