From: Julia Lawall Date: Sat, 3 Nov 2012 10:58:37 +0000 (+0000) Subject: RDMA/nes: Use WARN() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~23^2~3^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079abea6a37fd3b4f7e1b7cf9e4d055463988753;p=pandora-kernel.git 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/) // @@ 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 Dreier --- Reading git-diff-tree failed