aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_intr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/enic/vnic_intr.c')
-rw-r--r--drivers/net/enic/vnic_intr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/enic/vnic_intr.c b/drivers/net/enic/vnic_intr.c
index 3934309a9498..416eae73fa0a 100644
--- a/drivers/net/enic/vnic_intr.c
+++ b/drivers/net/enic/vnic_intr.c
@@ -39,8 +39,7 @@ int vnic_intr_alloc(struct vnic_dev *vdev, struct vnic_intr *intr,
intr->ctrl = vnic_dev_get_res(vdev, RES_TYPE_INTR_CTRL, index);
if (!intr->ctrl) {
- printk(KERN_ERR "Failed to hook INTR[%d].ctrl resource\n",
- index);
+ pr_err("Failed to hook INTR[%d].ctrl resource\n", index);
return -EINVAL;
}