diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-20 14:50:00 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-17 17:55:14 +0100 |
commit | 88de4598bca84e27b261685c06fff816b8d932a1 (patch) | |
tree | a761a959de7770174509f830b97700bcca01e36e /drivers/target | |
parent | f65efd6dfe4e687637704f7023157fdee99913ca (diff) | |
download | linux-88de4598bca84e27b261685c06fff816b8d932a1.tar.bz2 |
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>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions