Skip to contentSkip to conversation

selinux: fix the kdoc header for task_avdcache_update

PATCH Applied Paul Moore 1 participant 2 messages Apr 12, 2025 SELinux security module

lore
Share & tools
lore

Paul Moore

author maintainer
#0 lore raw

PATCH 1/1 selinux: fix the kdoc header for task_avdcache_update

The kdoc header incorrectly references an older parameter, update it to reference what is currently used in the function.

---
 security/selinux/hooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/selinux/hooks.c +1 -1
index edc9ae81e202..b8115df536ab 100644
@@ -3160,7 +3160,7 @@ static inline int task_avdcache_search(struct task_security_struct *tsec,
  * task_avdcache_update - Update the task's AVD cache
  * @tsec: the task's security state
  * @isec: the inode associated with the cache entry
- * @avdc: the AVD info to cache
+ * @avd: the AVD to cache
  * @audited: the permission audit bitmask to cache
  *
  * Update the AVD cache in @tsec with the @avdc and @audited info associated
Signature · 1 line
2.49.0
author maintainer Applied
#1 lore raw
Quoted 10 lines · Paul Moore

The kdoc header incorrectly references an older parameter, update it to reference what is currently used in the function.

---
 security/selinux/hooks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Merged into selinux/dev.

Signature · 1 line
paul-moore.com