]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selinux: fix the kdoc header for task_avdcache_update
authorPaul Moore <paul@paul-moore.com>
Sat, 12 Apr 2025 15:33:41 +0000 (11:33 -0400)
committerPaul Moore <paul@paul-moore.com>
Sat, 12 Apr 2025 15:37:06 +0000 (11:37 -0400)
The kdoc header incorrectly references an older parameter, update it
to reference what is currently used in the function.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202504122308.Ch8PzJdD-lkp@intel.com/
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c

index edc9ae81e202a2ab32d87bc568682b25a59b7899..b8115df536abdc2c216aa3f087172e557a92b279 100644 (file)
@@ -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