diff mbox series

[-next] apparmor: Fix spelling of function name in comment block

Message ID 20221014084255.26103-1-yang.lee@linux.alibaba.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [-next] apparmor: Fix spelling of function name in comment block | expand

Commit Message

Yang Li Oct. 14, 2022, 8:42 a.m. UTC
'resouce' -> 'resource'

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2396
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 security/apparmor/resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Johansen Oct. 21, 2022, 2:31 a.m. UTC | #1
On 10/14/22 01:42, Yang Li wrote:
> 'resouce' -> 'resource'
> 
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2396
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

I have pulled this into my tree

Acked-by: John Johansen <john.johansen@canonical.com>

> ---
>   security/apparmor/resource.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
> index ed543f4edfd9..d7dbacc9a369 100644
> --- a/security/apparmor/resource.c
> +++ b/security/apparmor/resource.c
> @@ -66,7 +66,7 @@ static int audit_resource(struct aa_profile *profile, unsigned int resource,
>   }
>   
>   /**
> - * aa_map_resouce - map compiled policy resource to internal #
> + * aa_map_resource - map compiled policy resource to internal #
>    * @resource: flattened policy resource number
>    *
>    * Returns: resource # for the current architecture.
diff mbox series

Patch

diff --git a/security/apparmor/resource.c b/security/apparmor/resource.c
index ed543f4edfd9..d7dbacc9a369 100644
--- a/security/apparmor/resource.c
+++ b/security/apparmor/resource.c
@@ -66,7 +66,7 @@  static int audit_resource(struct aa_profile *profile, unsigned int resource,
 }
 
 /**
- * aa_map_resouce - map compiled policy resource to internal #
+ * aa_map_resource - map compiled policy resource to internal #
  * @resource: flattened policy resource number
  *
  * Returns: resource # for the current architecture.