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

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

2015-12-09 Thread Pathak, Rahul (R.)
Hello Alan, Should I resend this patch version with the tear line correction? Regards Rahul Pathak From: Alan Stern Sent: Tuesday, December 8, 2015 8:53 PM To: Pathak, Rahul (R.) Cc: gre...@linuxfoundation.org; kbo...@gmail.com; dan.carpen

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

2015-12-08 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 Changes after v1: setting isopkt=NULL for proper kfree() call Signe

[PATCH] usb: Use memdup_user to reuse the code

2015-12-08 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 --- drivers/usb/core/devio.c | 8 +++--