commit | b425b0201e89e6509032985532a33f1f92ac62a6 | [log] [tgz] |
---|---|---|
author | Sachin Shukla <sachin.s5@samsung.com> | Fri Nov 11 14:34:51 2016 +0530 |
committer | Jens Axboe <axboe@fb.com> | Fri Nov 11 13:37:04 2016 -0700 |
tree | 0d53ebcb95ebc4f9e7763dce80f7834666c3d094 | |
parent | 066a4a73cee9a44a906b98825e70c47de5bd8b5c [diff] |
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>