Tag: 079abea6a37fd3b4f7e1b7cf9e4d055463988753

RDMA/nes: 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 [ Remove extra KERN_ERR from WARN() format. – Roland ] Signed-off-by: Roland …

Continue reading