aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorSachin Shukla <sachin.s5@samsung.com>2016-11-11 14:34:51 +0530
committerJens Axboe <axboe@fb.com>2016-11-11 13:37:04 -0700
commitb425b0201e89e6509032985532a33f1f92ac62a6 (patch)
tree0d53ebcb95ebc4f9e7763dce80f7834666c3d094 /block
parentblk-mq: blk_mq_try_issue_directly() should lookup hardware queue (diff)
downloadlinux-dev-b425b0201e89e6509032985532a33f1f92ac62a6.tar.xz
linux-dev-b425b0201e89e6509032985532a33f1f92ac62a6.zip
Block: mtip32xx: Improvement in code readability when memdup_user() fails.
There is no need to call kfree() if memdup_user() fails, as no memory was allocated and the error in the error-valued pointer should be returned. Signed-off-by: Sachin Shukla <sachin.s5@samsung.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions