diff options
author | Matias Bjørling <matias@cnexlabs.com> | 2017-04-15 20:55:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-16 10:06:25 -0600 |
commit | 48d663a314489f136a46abf8e3f0d014d7769209 (patch) | |
tree | b106eabe6c0b11279e132e22d3588ccddbfbe123 /drivers/net | |
parent | 7a3de2b33f5213c423a59aeaaae2249196b4b5cc (diff) | |
download | linux-48d663a314489f136a46abf8e3f0d014d7769209.tar.bz2 |
lightnvm: enable nvme size compile asserts
The asserts in _nvme_nvm_check_size are not compiled due to the function
not begin called. Make sure that it is called, and also fix the wrong
sizes of asserts for nvme_nvm_addr_format, and nvme_nvm_bb_tbl, which
checked for number of bits instead of bytes.
Reported-by: Scott Bauer <scott.bauer@intel.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions