summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-08-07 09:50:55 -0700
committerJohn Johansen <john.johansen@canonical.com>2021-02-07 04:15:46 -0800
commit4af7c863fc85ad756b7a978fe1096b80a855543c (patch)
tree5565681f613b3ef984f1e3e245d963c27b38fe8b /security
parentef70454508c00a415a41156a19cb771a186c55d0 (diff)
downloadlinux-4af7c863fc85ad756b7a978fe1096b80a855543c.tar.gz
linux-4af7c863fc85ad756b7a978fe1096b80a855543c.tar.bz2
linux-4af7c863fc85ad756b7a978fe1096b80a855543c.zip
security: apparmor: delete repeated words in comments
Drop repeated words in comments. {a, then, to} Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Seth Arnold <seth.arnold@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/path.c2
-rw-r--r--security/apparmor/policy_unpack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/path.c b/security/apparmor/path.c
index b02dfdbff7cd..45ec994b558d 100644
--- a/security/apparmor/path.c
+++ b/security/apparmor/path.c
@@ -83,7 +83,7 @@ static int disconnect(const struct path *path, char *buf, char **name,
*
* Returns: %0 else error code if path lookup fails
* When no error the path name is returned in @name which points to
- * to a position in @buf
+ * a position in @buf
*/
static int d_namespace_path(const struct path *path, char *buf, char **name,
int flags, const char *disconnected)
diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c
index d9ef9a99c26e..12e6677868c3 100644
--- a/security/apparmor/policy_unpack.c
+++ b/security/apparmor/policy_unpack.c
@@ -39,7 +39,7 @@
/*
* The AppArmor interface treats data as a type byte followed by the
- * actual data. The interface has the notion of a a named entry
+ * actual data. The interface has the notion of a named entry
* which has a name (AA_NAME typecode followed by name string) followed by
* the entries typecode and data. Named types allow for optional
* elements and extensions to be added and tested for without breaking