summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/nd-core.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2020-07-21 01:08:13 +0300
committerVishal Verma <vishal.l.verma@intel.com>2020-07-28 21:21:10 +0300
commit5cf81ce1893da01fede18c6749eafd4bc1c5ae9b (patch)
tree8e967db481acb05abdb10a663fee3c205fe63092 /drivers/nvdimm/nd-core.h
parent60d360acddc54344409a710af07c561e025f13f5 (diff)
downloadlinux-5cf81ce1893da01fede18c6749eafd4bc1c5ae9b.tar.xz
libnvdimm: Convert to DEVICE_ATTR_ADMIN_RO()
Move libnvdimm sysfs attributes that currently use an open coded DEVICE_ATTR() to hide sensitive root-only information (physical memory layout) to the new DEVICE_ATTR_ADMIN_RO() helper. Cc: Vishal Verma <vishal.l.verma@intel.com> Cc: Dave Jiang <dave.jiang@intel.com> Cc: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd-core.h')
0 files changed, 0 insertions, 0 deletions