diff mbox series

tomoyo: Fix typo in comment

Message ID 20220624070254.33998-1-wangxiang@cdjrlc.com (mailing list archive)
State Handled Elsewhere
Headers show
Series tomoyo: Fix typo in comment | expand

Commit Message

Xiang wangx June 24, 2022, 7:02 a.m. UTC
Delete the redundant word 'path'.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
---
 security/tomoyo/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tetsuo Handa June 24, 2022, 10:05 a.m. UTC | #1
Thanks for a patch, but current is correct. ("path2" means takes two path arguments)

On 2022/06/24 16:02, Xiang wangx wrote:
> Delete the redundant word 'path'.
> 
> Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
> ---
>  security/tomoyo/file.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c
> index 1e6077568fde..772f7e1ddf6e 100644
> --- a/security/tomoyo/file.c
> +++ b/security/tomoyo/file.c
> @@ -286,7 +286,7 @@ static bool tomoyo_check_path_number_acl(struct tomoyo_request_info *r,
>  }
>  
>  /**
> - * tomoyo_check_path2_acl - Check permission for path path operation.
> + * tomoyo_check_path2_acl - Check permission for path operation.
>   *
>   * @r:   Pointer to "struct tomoyo_request_info".
>   * @ptr: Pointer to "struct tomoyo_acl_info".
diff mbox series

Patch

diff --git a/security/tomoyo/file.c b/security/tomoyo/file.c
index 1e6077568fde..772f7e1ddf6e 100644
--- a/security/tomoyo/file.c
+++ b/security/tomoyo/file.c
@@ -286,7 +286,7 @@  static bool tomoyo_check_path_number_acl(struct tomoyo_request_info *r,
 }
 
 /**
- * tomoyo_check_path2_acl - Check permission for path path operation.
+ * tomoyo_check_path2_acl - Check permission for path operation.
  *
  * @r:   Pointer to "struct tomoyo_request_info".
  * @ptr: Pointer to "struct tomoyo_acl_info".