Tag: f7c3f96a41f16865e6422bfb919312a716b16552

drivers/net/ethernet/ibm/emac/mal.c: use WARN

Author: Julia Lawall <Julia.Lawall@lip6.fr> Use WARN rather than printk followed by WARN_ON(1), for conciseness. A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression list es; @@ -printk( +WARN(1, es); -WARN_ON(1); // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/ethernet/ibm/emac/mal.c | 6 ++—- 1 file changed, …

Continue reading