]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: Change log message to netif/dev function
authorShay Agroskin <shayagr@amazon.com>
Mon, 21 Sep 2020 08:37:37 +0000 (11:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:54:23 +0000 (13:54 -0700)
commit09cf04a96927f9c79352d242e7a11e4dcdc0b278
tree0a2effd1279f9d167aac4eb39a6ae89915186dcc
parent3e60fca4755c3b5f09de81815c55c7006ebf5684
net: ena: Change log message to netif/dev function

Make log prints in ena_netdev use the same log functions as the rest of
the driver.

For the sake of consistency, all prints in ena_netdev file were
converted into netif_* format except where netdev struct isn't yet
defined. For these places, dev_* log functions are used (similar to
the patch for ena_com files).

This commit leaves some corner cases which would be changed in a
future patch.

Signed-off-by: Amit Bernstein <amitbern@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c