aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorWenwei Tao <[email protected]>2015-11-20 12:47:53 +0000
committerJens Axboe <[email protected]>2015-11-20 15:33:14 +0000
commit480fc0db819d706ea5608545a12d33cf8d5a31ab (patch)
tree0d3b5af91393d96ef5903327a85ec549b00cf052 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentnull_blk: do not del gendisk with lightnvm (diff)
downloadkernel-480fc0db819d706ea5608545a12d33cf8d5a31ab.tar.gz
kernel-480fc0db819d706ea5608545a12d33cf8d5a31ab.zip
lightnvm: wrong return value and redundant free
The return value should be non-zero under error conditions. Remove nvme_free(dev) to avoid free dev more than once. Signed-off-by: Wenwei Tao <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions