]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: cmb sysfs: one file, one value
authorKeith Busch <kbusch@kernel.org>
Fri, 16 Jul 2021 07:22:49 +0000 (09:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 12:42:23 +0000 (14:42 +0200)
commita9ddf6798384336677e1ba319b6d67844438c808
treebe1ef3fe2b7b3eeb84944e72b370857fb3ddab34
parent59243ecf3d9f53d8b4ae6658dd8dda98467ffb4f
nvme-pci: cmb sysfs: one file, one value

An attribute should only be exporting one value as recommended in
Documentation/filesystems/sysfs.rst. Implement CMB attributes this way.
The old attribute will remain for backward compatibility.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c