linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] apparmor: Fix spelling of function name in comment block
@ 2022-10-14  8:42 Yang Li
  2022-10-21  2:31 ` John Johansen
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2022-10-14  8:42 UTC (permalink / raw)
  To: john.johansen
  Cc: paul, jmorris, serge, apparmor, linux-security-module,
	linux-kernel, Yang Li, Abaci Robot

'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(-)

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.
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] apparmor: Fix spelling of function name in comment block
  2022-10-14  8:42 [PATCH -next] apparmor: Fix spelling of function name in comment block Yang Li
@ 2022-10-21  2:31 ` John Johansen
  0 siblings, 0 replies; 2+ messages in thread
From: John Johansen @ 2022-10-21  2:31 UTC (permalink / raw)
  To: Yang Li
  Cc: paul, jmorris, serge, apparmor, linux-security-module,
	linux-kernel, Abaci Robot

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-21  2:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14  8:42 [PATCH -next] apparmor: Fix spelling of function name in comment block Yang Li
2022-10-21  2:31 ` John Johansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).