diff options
Diffstat (limited to 'drivers/net/enic/vnic_rq.c')
-rw-r--r-- | drivers/net/enic/vnic_rq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/enic/vnic_rq.c b/drivers/net/enic/vnic_rq.c index cc580cfec41d..6d84ca840052 100644 --- a/drivers/net/enic/vnic_rq.c +++ b/drivers/net/enic/vnic_rq.c | |||
@@ -39,7 +39,7 @@ static int vnic_rq_alloc_bufs(struct vnic_rq *rq) | |||
39 | for (i = 0; i < blks; i++) { | 39 | for (i = 0; i < blks; i++) { |
40 | rq->bufs[i] = kzalloc(VNIC_RQ_BUF_BLK_SZ, GFP_ATOMIC); | 40 | rq->bufs[i] = kzalloc(VNIC_RQ_BUF_BLK_SZ, GFP_ATOMIC); |
41 | if (!rq->bufs[i]) { | 41 | if (!rq->bufs[i]) { |
42 | printk(KERN_ERR "Failed to alloc rq_bufs\n"); | 42 | pr_err("Failed to alloc rq_bufs\n"); |
43 | return -ENOMEM; | 43 | return -ENOMEM; |
44 | } | 44 | } |
45 | } | 45 | } |
@@ -94,7 +94,7 @@ int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, | |||
94 | 94 | ||
95 | rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index); | 95 | rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index); |
96 | if (!rq->ctrl) { | 96 | if (!rq->ctrl) { |
97 | printk(KERN_ERR "Failed to hook RQ[%d] resource\n", index); | 97 | pr_err("Failed to hook RQ[%d] resource\n", index); |
98 | return -EINVAL; | 98 | return -EINVAL; |
99 | } | 99 | } |
100 | 100 | ||
@@ -174,7 +174,7 @@ int vnic_rq_disable(struct vnic_rq *rq) | |||
174 | udelay(10); | 174 | udelay(10); |
175 | } | 175 | } |
176 | 176 | ||
177 | printk(KERN_ERR "Failed to disable RQ[%d]\n", rq->index); | 177 | pr_err("Failed to disable RQ[%d]\n", rq->index); |
178 | 178 | ||
179 | return -ETIMEDOUT; | 179 | return -ETIMEDOUT; |
180 | } | 180 | } |