net/mlx5: Improve driver log messages
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Jul 2016 13:43:17 +0000 (16:43 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 17 Aug 2016 14:45:59 +0000 (17:45 +0300)
commit2974ab6e8bd8ad06d30ed471b91f8ff7aa6debd8
treed7d35b0c92873de8c4ae58f7d33e54f342623c17
parentc4f287c4a6ac489c18afc4acc4353141a8c53070
net/mlx5: Improve driver log messages

Remove duplicate pci dev name printing in mlx5_core_err.
Use mlx5_core_{warn,info,err} where possible to have the pci info in the
driver log messages.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Parvi Kaustubhi <parvik@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
drivers/net/ethernet/mellanox/mlx5/core/sriov.c