Re: [PATCH v2 RESEND] usb: Use memdup_user to reuse the code

2016-01-04 Thread Dan Carpenter
On Wed, Dec 30, 2015 at 09:15:55AM +, Pathak, Rahul (R.) wrote: > Hello Greg, > > This patch is not yet merged, its already been reviewed and acked by Alan. > Relax. Everyone is on vacation. This stuff is not life or death that it must be done right away. regards, dan carpenter -- To uns

Re: [PATCH v2 RESEND] usb: Use memdup_user to reuse the code

2015-12-30 Thread Pathak, Rahul (R.)
Hello Greg, This patch is not yet merged, its already been reviewed and acked by Alan. Thanks Rahul On Thu, Dec 10, 2015 at 09:40:33PM -0800, Rahul Pathak wrote: > From: Rahul Pathak > > Fixing coccicheck warning which recommends to use memdup_user instead > to reimplement its code, using memd

[PATCH v2 RESEND] usb: Use memdup_user to reuse the code

2015-12-10 Thread Pathak, Rahul (R.)
From: Rahul Pathak Fixing coccicheck warning which recommends to use memdup_user instead to reimplement its code, using memdup_user simplifies the code ./drivers/usb/core/devio.c:1398:11-18: WARNING opportunity for memdup_user Signed-off-by: Rahul Pathak --- Changes after v1: setting isopkt