mirror of
https://github.com/torvalds/linux.git
synced 2025-04-09 14:45:27 +00:00
landlock: Fix grammar error
Fix grammar error in comments that were identified using the codespell tool. Signed-off-by: Tanya Agarwal <tanyaagarwal25699@gmail.com> Reviewed-by: Günther Noack <gnoack@google.com> Link: https://lore.kernel.org/r/20250123194208.2660-1-tanyaagarwal25699@gmail.com [mic: Simplify commit message] Signed-off-by: Mickaël Salaün <mic@digikod.net>
This commit is contained in:
parent
89cb121e94
commit
143c9aae04
@ -124,7 +124,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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user