bpf: Avoid iter->offset making backward progress in bpf_iter_udp
[platform/kernel/linux-starfive.git] / security / device_cgroup.c
index 7507d14..dc4df74 100644 (file)
@@ -421,7 +421,7 @@ static bool verify_new_ex(struct dev_cgroup *dev_cgroup,
                } else {
                        /*
                         * new exception in the child will add more devices
-                        * that can be acessed, so it can't match any of
+                        * that can be accessed, so it can't match any of
                         * parent's exceptions, even slightly
                         */ 
                        match = match_exception_partial(&dev_cgroup->exceptions,
@@ -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