staging/easycap: Use memdup_user
authorThomas Meyer <thomas@m3y3r.de>
Sat, 13 Aug 2011 09:09:26 +0000 (11:09 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:22:58 +0000 (15:22 -0700)
commit71c9c2045cc88f2253603bb7634c2eb523f20dea
tree45deac76487bb8b2d9971e1f17adcaab6bfb27e1
parenta5232bde8449b28230f767e8b558021bb5d08e5c
staging/easycap: Use memdup_user

 Use kmemdup_user rather than duplicating its implementation
 This is a little bit restricted to reduce false positives

 The semantic patch that makes this output is available
 in scripts/coccinelle/api/memdup_user.cocci.

 More information about semantic patching is available at
 http://coccinelle.lip6.fr/

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap_ioctl.c