diff options
author | Matias Bjørling <matias@cnexlabs.com> | 2017-01-31 13:17:14 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-31 16:32:13 +0100 |
commit | dab8ee9e8a30620a5b5f22d6c0b3749217093803 (patch) | |
tree | d7379e44ddf70434594a56cd1320c813d463050a /scripts/gcc-x86_64-has-stack-protector.sh | |
parent | lightnvm: make nvm_map_* return void (diff) | |
download | linux-dab8ee9e8a30620a5b5f22d6c0b3749217093803.tar.xz linux-dab8ee9e8a30620a5b5f22d6c0b3749217093803.zip |
lightnvm: cleanup nvm transformation functions
Going from target specific ppa addresses to device was accomplished by
first converting target to generic ppa addresses and generic to device
addresses. The conversion was either open-coded or used the built-in
nvm_trans_* and nvm_map_* functions for conversion. Simplify the
interface and cleanup the calls to provide clean functions that now
either take a list of ppas or a nvm_rq, and is exposed through:
void nvm_ppa_* - target to/from device with a list of PPAs,
void nvm_rq_* - target to/from device with a nvm_rq.
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/gcc-x86_64-has-stack-protector.sh')
0 files changed, 0 insertions, 0 deletions