]> 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)
commite291078e0834789175f8134d86579e7526013cc4
treebe1ef3fe2b7b3eeb84944e72b370857fb3ddab34
parent9fad7989aa6e4866cc06992613c245f1b01927ca
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