commit | 079abea6a37fd3b4f7e1b7cf9e4d055463988753 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sat Nov 03 10:58:37 2012 +0000 |
committer | Roland Dreier <roland@purestorage.com> | Thu Nov 22 00:49:15 2012 -0800 |
tree | ba577a86e0783d6805a0f8b6da8baf52b9cabece | |
parent | cecdcd5f24be8c532ad8dcbbd93c7b477cfd3413 [diff] |
RDMA/nes: Use WARN() 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/) // <smpl> @@ expression list es; @@ -printk( +WARN(1, es); -WARN_ON(1); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> [ Remove extra KERN_ERR from WARN() format. - Roland ] Signed-off-by: Roland Dreier <roland@purestorage.com>