Skip to content

Commit

Permalink
device_cgroup: Fix kernel-doc warnings in device_cgroup
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
  • Loading branch information
gscui authored and pcmoore committed Jun 21, 2023
1 parent 970ebb8 commit 4be22f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion security/device_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4be22f1

Please sign in to comment.