LSM: drop duplicated words in header file comments
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 17 Jul 2020 23:36:40 +0000 (16:36 -0700)
committerJames Morris <jmorris@namei.org>
Thu, 6 Aug 2020 19:00:17 +0000 (12:00 -0700)
Drop the doubled words "the" and "and" in comments.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Serge Hallyn <serge@hallyn.com>
Cc: linux-security-module@vger.kernel.org
Signed-off-by: James Morris <jmorris@namei.org>
include/linux/lsm_hook_defs.h
include/linux/lsm_hooks.h

index 5616b25..dec0e51 100644 (file)
@@ -15,7 +15,7 @@
  */
 
 /*
- * The macro LSM_HOOK is used to define the data structures required by the
+ * The macro LSM_HOOK is used to define the data structures required by
  * the LSM framework using the pattern:
  *
  *     LSM_HOOK(<return_type>, <default_value>, <hook_name>, args...)
index 988ca0d..afd2c5b 100644 (file)
  *     structure. Note that the security field was not added directly to the
  *     socket structure, but rather, the socket security information is stored
  *     in the associated inode.  Typically, the inode alloc_security hook will
- *     allocate and and attach security information to
+ *     allocate and attach security information to
  *     SOCK_INODE(sock)->i_security.  This hook may be used to update the
  *     SOCK_INODE(sock)->i_security field with additional information that
  *     wasn't available when the inode was allocated.