diff options
author | Matias Bjørling <[email protected]> | 2017-04-15 20:55:40 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-04-16 10:06:25 -0600 |
commit | 48d663a314489f136a46abf8e3f0d014d7769209 (patch) | |
tree | b106eabe6c0b11279e132e22d3588ccddbfbe123 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 7a3de2b33f5213c423a59aeaaae2249196b4b5cc (diff) |
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 <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions