diff options
author | Joe Perches <joe@perches.com> | 2016-03-09 00:54:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-11 23:07:48 +0300 |
commit | e327f4e193b6a176f4dc3b19faf6371a8917588d (patch) | |
tree | 30f0bb5bfd44cff7627dddadf24916e67de1ec3c /drivers/net/ethernet/cisco/enic/vnic_cq.c | |
parent | 5390dba1a5390c9724db5c5714506301dfe31a7b (diff) | |
download | linux-e327f4e193b6a176f4dc3b19faf6371a8917588d.tar.xz |
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_cq.c')
-rw-r--r-- | drivers/net/ethernet/cisco/enic/vnic_cq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cisco/enic/vnic_cq.c b/drivers/net/ethernet/cisco/enic/vnic_cq.c index abeda2a9ea27..9c682aff3834 100644 --- a/drivers/net/ethernet/cisco/enic/vnic_cq.c +++ b/drivers/net/ethernet/cisco/enic/vnic_cq.c @@ -43,7 +43,7 @@ int vnic_cq_alloc(struct vnic_dev *vdev, struct vnic_cq *cq, unsigned int index, cq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_CQ, index); if (!cq->ctrl) { - vdev_err("Failed to hook CQ[%d] resource\n", index); + vdev_err(vdev, "Failed to hook CQ[%d] resource\n", index); return -EINVAL; } |