On 02/06/2016 10:11 AM, Amitoj Kaur Chawla wrote:
> Replace generic pr_debug() with netdev_dbg() for net devices.
>
> Found using Coccinelle. The semantic patch used to find this is as
> follows:
>
> //
> @@
> expression e;
> identifier f,i;
> position p;
> @@
>
> f(...,struct net_device *i,...)
Replace generic pr_debug() with netdev_dbg() for net devices.
Found using Coccinelle. The semantic patch used to find this is as
follows:
//
@@
expression e;
identifier f,i;
position p;
@@
f(...,struct net_device *i,...) {
...
- pr_debug@p(e);
+ netdev_dbg(i, e);
...
}
//
Signed-off-by: A