-
Matias Bjørling authored
Both the nvm_register and nvm_init does a kfree(dev) on error. Make sure to only free it once. Signed-off-by:
Matias Bjørling <m@bjorling.me> Signed-off-by:
Jens Axboe <axboe@fb.com>
c1480ad5
Both the nvm_register and nvm_init does a kfree(dev) on error. Make sure to only free it once. Signed-off-by:Matias Bjørling <m@bjorling.me> Signed-off-by:
Jens Axboe <axboe@fb.com>