summaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2015-04-17 21:12:25 +0200
committerDavid S. Miller <davem@davemloft.net>2015-04-17 21:58:37 +0200
commite3122b7fae7b4e3d1d49fa84f6515bcbe6cbc6fc (patch)
tree4da80804e57296d9cbe7a48f22d6734b557c9c64 /net/dccp/ipv6.h
parentnetns: remove BUG_ONs from net_generic() (diff)
downloadlinux-e3122b7fae7b4e3d1d49fa84f6515bcbe6cbc6fc.tar.xz
linux-e3122b7fae7b4e3d1d49fa84f6515bcbe6cbc6fc.zip
net: dsa: use DEVICE_ATTR_RW to declare temp1_max
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 <vivien.didelot@savoirfairelinux.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv6.h')
0 files changed, 0 insertions, 0 deletions