[Cocci] [PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

Joe Perches joe at perches.com
Fri Nov 24 01:25:37 CET 2017


On Thu, 2017-11-23 at 15:30 -0800, Joe Perches wrote:
> --- /dev/null	2017-11-23 06:19:12.943046739 -0800
> +++ single_use_module.pl	2017-11-23 15:23:11.729812156 -0800
> @@ -0,0 +1,15 @@
[]
> +$data =~ s~$var~$string~;

this needs to be:

$data =~ s~\b$var\b~$string~;


More information about the Cocci mailing list