Re: [PATCH] Block: mtip32xx: Improvement in code readability when memdup_user() fails.
From
Jens Axboe <>
Date
Fri, 11 Nov 2016 13:37:35 -0700
On 11/11/2016 02:04 AM, Sachin Shukla wrote: > From: "Sachin Shukla" <sachin.s5@samsung.com> > > 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.