diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:21:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-11 16:21:51 +0200 |
commit | 824f28c9ec990b8b0c7e92ec3fd2c268ec9a17a5 (patch) | |
tree | 18e9afab2d9cb5bae86e0e1c8edb32a149bdac02 /qlcnic_sysfs.patch | |
parent | ffad0c8695eb61e151a1095cb140b7c804f7b889 (diff) | |
download | patches-824f28c9ec990b8b0c7e92ec3fd2c268ec9a17a5.tar.gz |
refresh with 4.18-rc4
Diffstat (limited to 'qlcnic_sysfs.patch')
-rw-r--r-- | qlcnic_sysfs.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qlcnic_sysfs.patch b/qlcnic_sysfs.patch index ba6b6a1403f4f9..23c3ee88c2c285 100644 --- a/qlcnic_sysfs.patch +++ b/qlcnic_sysfs.patch @@ -96,25 +96,25 @@ } -static const struct device_attribute dev_attr_bridged_mode = { -- .attr = {.name = "bridged_mode", .mode = (S_IRUGO | S_IWUSR)}, -- .show = qlcnic_show_bridged_mode, -- .store = qlcnic_store_bridged_mode, +- .attr = { .name = "bridged_mode", .mode = 0644 }, +- .show = qlcnic_show_bridged_mode, +- .store = qlcnic_store_bridged_mode, -}; - -static const struct device_attribute dev_attr_diag_mode = { -- .attr = {.name = "diag_mode", .mode = (S_IRUGO | S_IWUSR)}, +- .attr = { .name = "diag_mode", .mode = 0644 }, - .show = qlcnic_show_diag_mode, - .store = qlcnic_store_diag_mode, -}; - -static const struct device_attribute dev_attr_beacon = { -- .attr = {.name = "beacon", .mode = (S_IRUGO | S_IWUSR)}, +- .attr = { .name = "beacon", .mode = 0644 }, - .show = qlcnic_show_beacon, - .store = qlcnic_store_beacon, -}; - static const struct bin_attribute bin_attr_crb = { - .attr = {.name = "crb", .mode = (S_IRUGO | S_IWUSR)}, + .attr = { .name = "crb", .mode = 0644 }, .size = 0, @@ -1317,6 +1300,24 @@ void qlcnic_unregister_hwmon_dev(struct } |