Commit aec844df authored by Hariprasad Shenai's avatar Hariprasad Shenai Committed by Roland Dreier
Browse files

RDMA/cxgb4: Use pr_warn_ratelimited

parent a03d9f94
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -322,7 +322,7 @@ 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",
		pr_warn_ratelimited(MOD "%s: Out of RQT memory\n",
				    pci_name(rdev->lldi.pdev));
	mutex_lock(&rdev->stats.lock);
	if (addr) {