Skip to contentSkip to conversation

apparmor: Fix spelling of function name in comment block

PATCH In review Yang Li 2 participants 2 messages Oct 14, 2022 – Oct 21, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 apparmor: Fix spelling of function name in comment block

'resouce' -> 'resource'

---
 security/apparmor/resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/apparmor/resource.c +1 -1
index ed543f4edfd9..d7dbacc9a369 100644
@@ -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.
Signature · 1 line
2.20.1.7.g153144c
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Yang Li

'resouce' -> 'resource'

I have pulled this into my tree

Quoted 17 lines
---
  security/apparmor/resource.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
security/apparmor/resource.c +1 -1
index ed543f4edfd9..d7dbacc9a369 100644
@@ -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.