diff options
author | Amir Vadai <amirv@mellanox.com> | 2014-05-22 15:55:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-22 17:17:29 -0400 |
commit | c20862c8027bea5e081cde34efe2911970fe5562 (patch) | |
tree | 077bc24d9b96569b2b7fe02359c2177ff8a8e52a /drivers/net/ethernet/mellanox/mlx4/cmd.c | |
parent | ecc8fb11cdb37d108d4597ba0f6bdff77c6019af (diff) | |
download | op-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.c | 6 |
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; } |