projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89cb121
)
landlock: Fix grammar error
author
Tanya Agarwal
<tanyaagarwal25699@gmail.com>
Thu, 23 Jan 2025 19:42:10 +0000
(
01:12
+0530)
committer
Mickaël Salaün
<mic@digikod.net>
Fri, 14 Feb 2025 08:23:08 +0000
(09:23 +0100)
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>
security/landlock/ruleset.c
patch
|
blob
|
blame
|
history
diff --git
a/security/landlock/ruleset.c
b/security/landlock/ruleset.c
index 241ce44375b6a9cbc9012856e8714cfc398ba6ad..bff4e40a3093c8ad9750373d3e2b52e8213430b3 100644
(file)
--- 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);
}