[PATCH] security/apparmor: fix misspellings using codespell tool

menglong8.dong at gmail.com menglong8.dong at gmail.com
Tue Mar 9 03:26:52 UTC 2021


From: Xiong Zhenwu <xiong.zhenwu at zte.com.cn>

A typo is found out by codespell tool in 204th line of apparmorfs.c:

$ codespell ./security/apparmor/
./apparmorfs.c:204: seting  ==> setting

Fix a typo found by codespell.

Signed-off-by: Xiong Zhenwu <xiong.zhenwu at zte.com.cn>
---
 security/apparmor/apparmorfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index 2ee3b3d29f10..79591fc131b0 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -201,7 +201,7 @@ static struct file_system_type aafs_ops = {
 /**
  * __aafs_setup_d_inode - basic inode setup for apparmorfs
  * @dir: parent directory for the dentry
- * @dentry: dentry we are seting the inode up for
+ * @dentry: dentry we are setting the inode up for
  * @mode: permissions the file should have
  * @data: data to store on inode.i_private, available in open()
  * @link: if symlink, symlink target string
-- 
2.25.1



More information about the Linux-security-module-archive mailing list