Re: [PATCH] mmc: block: use memdup_user

2017-05-19 Thread Ulf Hansson
On 13 May 2017 at 05:15, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang > --- > drivers/mmc/core/block.c | 14 -- > 1 file changed, 4 insertions(+), 10

Re: [PATCH] mmc: block: use memdup_user

2017-05-19 Thread Ulf Hansson
On 13 May 2017 at 05:15, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang > --- > drivers/mmc/core/block.c | 14 -- > 1 file changed, 4 insertions(+), 10 deletions(-) > > diff --git a/drivers/mmc/core/block.c