summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/cmd.c
diff options
context:
space:
mode:
authorAmir Vadai <amirv@mellanox.com>2014-05-22 15:55:40 +0300
committerDavid S. Miller <davem@davemloft.net>2014-05-22 17:17:29 -0400
commitc20862c8027bea5e081cde34efe2911970fe5562 (patch)
tree077bc24d9b96569b2b7fe02359c2177ff8a8e52a /drivers/net/ethernet/mellanox/mlx4/cmd.c
parentecc8fb11cdb37d108d4597ba0f6bdff77c6019af (diff)
downloadop-kernel-dev-c20862c8027bea5e081cde34efe2911970fe5562.zip
op-kernel-dev-c20862c8027bea5e081cde34efe2911970fe5562.tar.gz
net/mlx4_core: Replace pr_warning() with pr_warn()
As checkpatch suggests. Also changed some printk's into pr_* Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/cmd.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/cmd.c b/drivers/net/ethernet/mellanox/mlx4/cmd.c
index 357dcb0..59c7fd4 100644
--- a/drivers/net/ethernet/mellanox/mlx4/cmd.c
+++ b/drivers/net/ethernet/mellanox/mlx4/cmd.c
@@ -1887,9 +1887,9 @@ void mlx4_master_comm_channel(struct work_struct *work)
if (toggle != slt) {
if (master->slave_state[slave].comm_toggle
!= slt) {
- printk(KERN_INFO "slave %d out of sync. read toggle %d, state toggle %d. Resynching.\n",
- slave, slt,
- master->slave_state[slave].comm_toggle);
+ pr_info("slave %d out of sync. read toggle %d, state toggle %d. Resynching.\n",
+ slave, slt,
+ master->slave_state[slave].comm_toggle);
master->slave_state[slave].comm_toggle =
slt;
}
OpenPOWER on IntegriCloud