summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-11-03 10:58:37 (GMT)
committerRoland Dreier <roland@purestorage.com>2012-11-22 08:49:15 (GMT)
commit079abea6a37fd3b4f7e1b7cf9e4d055463988753 (patch)
treeba577a86e0783d6805a0f8b6da8baf52b9cabece /Kbuild
parentcecdcd5f24be8c532ad8dcbbd93c7b477cfd3413 (diff)
downloadlinux-079abea6a37fd3b4f7e1b7cf9e4d055463988753.tar.xz
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions