summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-07-12 11:06:17 +0000
committerJens Axboe <axboe@fb.com>2016-07-12 08:27:03 -0700
commit458a9632ad7428e16e1feafb61aca33a11ac2f46 (patch)
tree485fa0491663dbcf92bb76d354547b9ab509da40 /fs/char_dev.c
parentbf294e833b3e670450cdc013242d45a4d2b8d395 (diff)
downloadlinux-458a9632ad7428e16e1feafb61aca33a11ac2f46.tar.bz2
nvme-rdma: fix the return value of nvme_rdma_reinit_request()
PTR_ERR should be applied before its argument is reassigned, otherwise the return value will be set to 0, not error code. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions