Tag: 71c9c2045cc88f2253603bb7634c2eb523f20dea

staging/easycap: Use memdup_user

Author: Thomas Meyer <thomas@m3y3r.de> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/easycap/easycap_ioctl.c | 30 ++++++++++——————– 1 file changed, …

Continue reading