diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-11-03 10:58:27 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-11-26 11:07:18 -0800 |
commit | 76f267b7ad978fec755f74ada4020edcb7493657 (patch) | |
tree | 125a7b5745393abf4ff72dbb2d69e1156e380e3e /drivers/infiniband/hw/cxgb3/cxio_resource.h | |
parent | f4a75d2eb7b1e2206094b901be09adb31ba63681 (diff) |
RDMA/cxgb4: 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>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/cxio_resource.h')
0 files changed, 0 insertions, 0 deletions