diff options
Diffstat (limited to 'net/rds/iw_send.c')
-rw-r--r-- | net/rds/iw_send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rds/iw_send.c b/net/rds/iw_send.c index 545d8ee3efb..e40c3c5db2c 100644 --- a/net/rds/iw_send.c +++ b/net/rds/iw_send.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <linux/in.h> | 34 | #include <linux/in.h> |
35 | #include <linux/device.h> | 35 | #include <linux/device.h> |
36 | #include <linux/dmapool.h> | 36 | #include <linux/dmapool.h> |
37 | #include <linux/ratelimit.h> | ||
37 | 38 | ||
38 | #include "rds.h" | 39 | #include "rds.h" |
39 | #include "iw.h" | 40 | #include "iw.h" |
@@ -258,8 +259,7 @@ void rds_iw_send_cq_comp_handler(struct ib_cq *cq, void *context) | |||
258 | * when the SEND completes. */ | 259 | * when the SEND completes. */ |
259 | break; | 260 | break; |
260 | default: | 261 | default: |
261 | if (printk_ratelimit()) | 262 | printk_ratelimited(KERN_NOTICE |
262 | printk(KERN_NOTICE | ||
263 | "RDS/IW: %s: unexpected opcode 0x%x in WR!\n", | 263 | "RDS/IW: %s: unexpected opcode 0x%x in WR!\n", |
264 | __func__, send->s_wr.opcode); | 264 | __func__, send->s_wr.opcode); |
265 | break; | 265 | break; |