Hello.
On 03/03/2014 09:41 AM, Hariprasad Shenai wrote:
From: Steve Wise <[email protected]>
Added some missing debug stats.
Use uninitialized_var().
Rate limit warning printks.
Wasn't it already rate-limited?
Initialize reserved fields in a FW work request.
I don't think it's a great idea to mix several fixes and worse, cleanups
in the same patch.
Signed-off-by: Steve Wise <[email protected]>
[...]
diff --git a/drivers/infiniband/hw/cxgb4/resource.c
b/drivers/infiniband/hw/cxgb4/resource.c
index cdef4d7..69e57d0 100644
--- a/drivers/infiniband/hw/cxgb4/resource.c
+++ b/drivers/infiniband/hw/cxgb4/resource.c
[...]
@@ -322,8 +326,8 @@ u32 c4iw_rqtpool_alloc(struct c4iw_rdev *rdev, int size)
unsigned long addr = gen_pool_alloc(rdev->rqt_pool, size << 6);
PDBG("%s addr 0x%x size %d\n", __func__, (u32)addr, size << 6);
if (!addr)
- printk_ratelimited(KERN_WARNING MOD "%s: Out of RQT memory\n",
- pci_name(rdev->lldi.pdev));
+ pr_warn_ratelimited(KERN_WARNING MOD "%s: Out of RQT memory\n",
You forgot to remove KERN_WARNING.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html