summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorTanya Agarwal <tanyaagarwal25699@gmail.com>2025-01-24 01:12:10 +0530
committerMickaël Salaün <mic@digikod.net>2025-02-14 09:23:08 +0100
commit143c9aae043a1dc174a75be52521192a0caa224b (patch)
treef3acc1b51c91f980a518748fab22d0931c073c3f /security
parent89cb121e94612cd3bb3c74b0e772ead5b40b7a5d (diff)
downloadlinux-143c9aae043a1dc174a75be52521192a0caa224b.tar.gz
linux-143c9aae043a1dc174a75be52521192a0caa224b.tar.bz2
linux-143c9aae043a1dc174a75be52521192a0caa224b.zip
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>
Diffstat (limited to 'security')
-rw-r--r--security/landlock/ruleset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/landlock/ruleset.c b/security/landlock/ruleset.c
index 241ce44375b6..bff4e40a3093 100644
--- a/security/landlock/ruleset.c
+++ b/security/landlock/ruleset.c
@@ -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);
}