Re: [PATCH] staging: i4l: icn: fix memdup_user.cocci warnings

2016-08-23 Thread Fengguang Wu
On Mon, Aug 22, 2016 at 09:19:36PM -0400, Greg KH wrote: On Tue, Aug 23, 2016 at 08:36:58AM +0800, kbuild test robot wrote: drivers/staging/i4l/icn/icn.c:813:11-18: WARNING opportunity for memdup_user Use memdup_user rather than duplicating its implementation This is a little bit restricted

Re: [PATCH] staging: i4l: icn: fix memdup_user.cocci warnings

2016-08-23 Thread Sudip Mukherjee
On Mon, Aug 22, 2016 at 09:19:36PM -0400, Greg Kroah-Hartman wrote: > On Tue, Aug 23, 2016 at 08:36:58AM +0800, kbuild test robot wrote: > > drivers/staging/i4l/icn/icn.c:813:11-18: WARNING opportunity for memdup_user > > > > Use memdup_user rather than duplicating its implementation > > This

Re: [PATCH] staging: i4l: icn: fix memdup_user.cocci warnings

2016-08-22 Thread Greg Kroah-Hartman
On Tue, Aug 23, 2016 at 08:36:58AM +0800, kbuild test robot wrote: > drivers/staging/i4l/icn/icn.c:813:11-18: WARNING opportunity for memdup_user > > Use memdup_user rather than duplicating its implementation > This is a little bit restricted to reduce false positives > > Generated by:

[PATCH] staging: i4l: icn: fix memdup_user.cocci warnings

2016-08-22 Thread kbuild test robot
drivers/staging/i4l/icn/icn.c:813:11-18: WARNING opportunity for memdup_user Use memdup_user rather than duplicating its implementation This is a little bit restricted to reduce false positives Generated by: scripts/coccinelle/api/memdup_user.cocci CC: Sudip Mukherjee