summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2023-06-21 09:44:18 +0200
committerPaul Moore <paul@paul-moore.com>2023-06-21 15:30:49 +0200
commit4be22f16a4a1a1667e79b52b56cca2c64b3747e2 (patch)
tree7ad9bb9331e26701fa2202c3488473016525cd65 /security
parentSafeSetID: fix UID printed instead of GID (diff)
downloadlinux-4be22f16a4a1a1667e79b52b56cca2c64b3747e2.tar.xz
linux-4be22f16a4a1a1667e79b52b56cca2c64b3747e2.zip
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')
-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