[PATCH -next] device_cgroup: Fix kernel-doc warnings in device_cgroup

Gaosheng Cui cuigaosheng1 at huawei.com
Wed Jun 21 07:44:18 UTC 2023


Fix kernel-doc warnings in device_cgroup:

security/device_cgroup.c:835: warning: Excess function parameter
'dev_cgroup' description in 'devcgroup_legacy_check_permission'.

Signed-off-by: Gaosheng Cui <cuigaosheng1 at huawei.com>
---
 security/device_cgroup.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/security/device_cgroup.c b/security/device_cgroup.c
index 41fca6487ca3..dc4df7475081 100644
--- a/security/device_cgroup.c
+++ b/security/device_cgroup.c
@@ -822,7 +822,6 @@ struct cgroup_subsys devices_cgrp_subsys = {
 
 /**
  * devcgroup_legacy_check_permission - checks if an inode operation is permitted
- * @dev_cgroup: the dev cgroup to be tested against
  * @type: device type
  * @major: device major number
  * @minor: device minor number
-- 
2.25.1



More information about the Linux-security-module-archive mailing list