summaryrefslogtreecommitdiff
path: root/security/device_cgroup.c
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2023-06-21 15:44:18 +0800
committerPaul Moore <paul@paul-moore.com>2023-06-21 09:30:49 -0400
commit4be22f16a4a1a1667e79b52b56cca2c64b3747e2 (patch)
tree7ad9bb9331e26701fa2202c3488473016525cd65 /security/device_cgroup.c
parent970ebb8a26a120340dcbb4e6c2fb4ecfbad0d190 (diff)
device_cgroup: Fix kernel-doc warnings in device_cgroup
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@huawei.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/device_cgroup.c')
-rw-r--r--security/device_cgroup.c1
1 files changed, 0 insertions, 1 deletions
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