commit | 88de4598bca84e27b261685c06fff816b8d932a1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Dec 20 14:50:00 2017 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jan 17 17:55:14 2018 +0100 |
tree | a761a959de7770174509f830b97700bcca01e36e | |
parent | f65efd6dfe4e687637704f7023157fdee99913ca [diff] |
nvme-pci: clean up SMBSZ bit definitions Define the bit positions instead of macros using the magic values, and move the expanded helpers to calculate the size and size unit into the implementation C file. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Logan Gunthorpe <logang@deltatee.com>