From: Guenter Roeck <[email protected]> Date: Fri, 17 Apr 2015 12:40:06 -0700
> On Fri, Apr 17, 2015 at 03:12:25PM -0400, Vivien Didelot wrote: >> Since commit da4759c (sysfs: Use only return value from is_visible for >> the file mode), it is possible to reduce the permissions of a file. >> >> So declare temp1_max with the DEVICE_ATTR_RW macro and remove the write >> permission in dsa_hwmon_attrs_visible if set_temp_limit isn't provided. >> >> Signed-off-by: Vivien Didelot <[email protected]> > > Looks good. > > Reviewed-by: Guenter Roeck <[email protected]> Applied, thanks everyone. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

