diff options
author | Joe Perches <joe@perches.com> | 2016-03-08 22:54:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-11 21:07:48 +0100 |
commit | e327f4e193b6a176f4dc3b19faf6371a8917588d (patch) | |
tree | 30f0bb5bfd44cff7627dddadf24916e67de1ec3c /drivers/net/ethernet/cisco/enic/vnic_rq.c | |
parent | Merge branch 'bridge_ageing_time' (diff) | |
download | linux-e327f4e193b6a176f4dc3b19faf6371a8917588d.tar.xz linux-e327f4e193b6a176f4dc3b19faf6371a8917588d.zip |
cisco: enic: Update logging macros and uses
Don't hide varibles used by the logging macros.
Miscellanea:
o Use the more common ##__VA_ARGS__ extension
o Add missing newlines to formats
o Realign arguments
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/vnic_rq.c')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/vnic_rq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cisco/enic/vnic_rq.c b/drivers/net/ethernet/cisco/enic/vnic_rq.c index cce2777dfc41..e572a527b18d 100644 --- a/drivers/net/ethernet/cisco/enic/vnic_rq.c +++ b/drivers/net/ethernet/cisco/enic/vnic_rq.c @@ -92,7 +92,7 @@ int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index); if (!rq->ctrl) { - vdev_err("Failed to hook RQ[%d] resource\n", index); + vdev_err(vdev, "Failed to hook RQ[%d] resource\n", index); return -EINVAL; } @@ -179,7 +179,7 @@ int vnic_rq_disable(struct vnic_rq *rq) udelay(10); } - vdev_neterr("Failed to disable RQ[%d]\n", rq->index); + vdev_neterr(vdev, "Failed to disable RQ[%d]\n", rq->index); return -ETIMEDOUT; } |