commit | 7ec6074ff005e5f6cd2cf186a9ec7496c3db04f9 | [log] [tgz] |
---|---|---|
author | Matias Bjørling <mb@lightnvm.io> | Thu Apr 12 09:16:03 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Apr 12 09:58:27 2018 -0600 |
tree | 071a6801a3e6e94570ef9b9a9c6b156ca1a118ae | |
parent | 2d097c50212e137e7b53ffe3b37561153eeba87d [diff] |
nvme: enforce 64bit offset for nvme_get_log_ext fn Compiling on 32 bits system produces a warning for the shift width when shifting 32 bit integer with 64bit integer. Make sure that offset always is 64bit, and use macros for retrieving lower and upper bits of the offset. Signed-off-by: Matias Bjørling <mb@lightnvm.io> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>