selinux: fix the kdoc header for task_avdcache_update
Paul Moore
maintainerPATCH 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.
Reported-by kernel test robot <[email protected]>
Signed-off-by Paul Moore <[email protected]>
--- security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/selinux/hooks.c +1 -1
@@ -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
Quoted 10 lines · Paul Moore
The kdoc header incorrectly references an older parameter, update it to reference what is currently used in the function.
Reported-by kernel test robot <[email protected]>Signed-off-by Paul Moore <[email protected]>--- security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Merged into selinux/dev.
Signature · 1 line
paul-moore.com