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

2015-12-11 Thread rahul pathak
Hello Greg, I have already resent the patch yesterday in new mail. -- Sending this mail again because previous mail was blocked as spam. Regards Rahul On Fri, Dec 11, 2015 at 10:01 PM, gre...@linuxfoundation.org wrote: > On Wed, Dec 09, 2015 at 08:02:53AM +, Pathak, Rahul (R.) wrote: >> H

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

2015-12-11 Thread gre...@linuxfoundation.org
On Wed, Dec 09, 2015 at 08:02:53AM +, Pathak, Rahul (R.) wrote: > Hello Alan, > > Should I resend this patch version with the tear line correction? Yes please. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mo

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

2015-12-09 Thread gre...@linuxfoundation.org
On Wed, Dec 09, 2015 at 08:02:53AM +, Pathak, Rahul (R.) wrote: > Hello Alan, > > Should I resend this patch version with the tear line correction? Why wouldn't you? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.

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

2015-12-09 Thread Pathak, Rahul (R.)
...@oracle.com; chasemetzge...@gmail.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] usb: Use memdup_user to reuse the code On Tue, 8 Dec 2015, Pathak, Rahul (R.) wrote: > From: Rahul Pathak > > Fixing coccicheck warning which recommends to use memdup_user ins

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

2015-12-08 Thread Alan Stern
On Tue, 8 Dec 2015, Pathak, Rahul (R.) wrote: > 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 > > Chang