search for: effective_mod

Displaying 2 results from an estimated 2 matches for "effective_mod".

Did you mean: effective_mode
2018 May 24
3
[PATCH] gpu: Consistently use octal not symbolic permissions
...hwmon_attributes_visible(struct kobject *kobj, attr == &sensor_dev_attr_pwm1.dev_attr.attr) || /* can't query fan */ (!adev->powerplay.pp_funcs->get_fan_control_mode && attr == &sensor_dev_attr_pwm1_enable.dev_attr.attr)) /* can't query state */ - effective_mode &= ~S_IRUGO; + effective_mode &= ~0444; if ((!adev->powerplay.pp_funcs->set_fan_speed_percent && attr == &sensor_dev_attr_pwm1.dev_attr.attr) || /* can't manage fan */ (!adev->powerplay.pp_funcs->set_fan_control_mode && attr == &...
2018 May 25
0
[PATCH] gpu: Consistently use octal not symbolic permissions
...le(struct kobject *kobj, > attr == &sensor_dev_attr_pwm1.dev_attr.attr) || /* can't query fan */ > (!adev->powerplay.pp_funcs->get_fan_control_mode && > attr == &sensor_dev_attr_pwm1_enable.dev_attr.attr)) /* can't query state */ > - effective_mode &= ~S_IRUGO; > + effective_mode &= ~0444; > > if ((!adev->powerplay.pp_funcs->set_fan_speed_percent && > attr == &sensor_dev_attr_pwm1.dev_attr.attr) || /* can't manage fan */ > (!adev->powerplay.pp_funcs->set_fan_control_mod...