diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-11-03 11:58:29 +0100 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-11-26 20:08:16 +0100 |
commit | 5107c2a3d117de8219a53e622c0f1f1bc3f7d1ae (patch) | |
tree | 0923164ff79ddcdf1276647ad2dfd6c3c2ad2f38 /drivers/infiniband/hw/qib/qib_keys.c | |
parent | RDMA/amsol1100: Fix missing break (diff) | |
download | linux-5107c2a3d117de8219a53e622c0f1f1bc3f7d1ae.tar.xz linux-5107c2a3d117de8219a53e622c0f1f1bc3f7d1ae.zip |
RDMA/cxgb3: 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/qib/qib_keys.c')
0 files changed, 0 insertions, 0 deletions