Staging: bcm: Use memdup_user rather than duplicating its implementation
authorThomas Meyer <thomas@m3y3r.de>
Sun, 22 Jan 2012 17:29:51 +0000 (18:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:22:16 +0000 (17:22 -0800)
commit2d9ebe77b7665a431a9816eff3eb588e05176dfa
treefe058d2e0219233017efe91d897350fda228de95
parent5cf4d6b936ca21f67aa763dd0d3f8fdd9873b22c
Staging: bcm: Use memdup_user rather than duplicating its implementation

This is a little bit restricted to reduce false positives

The semantic patch that makes this change 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@linuxfoundation.org>
drivers/staging/bcm/Bcmchar.c