OSDN Git Service

net: ena: Capitalize all log strings and improve code readability
authorShay Agroskin <shayagr@amazon.com>
Mon, 21 Sep 2020 08:37:38 +0000 (11:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:54:23 +0000 (13:54 -0700)
commitbf2746e849c951a7338abeab591cbef5c78555d7
tree932f574c13ae45cfaf7e8a81b01c9f59ddefcc2a
parentf0525298f3cce9c572f3fe2782d8070ef40884fa
net: ena: Capitalize all log strings and improve code readability

Capitalize all log strings printed by the ena driver to make their
format uniform across it.

Also fix indentation, spelling mistakes and comments to improve code
readability. This also includes adding comments to macros/enums whose
purpose might be difficult to understand.
Separate some code into functions to make it easier to understand the
purpose of these lines.

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_admin_defs.h
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_eth_com.c
drivers/net/ethernet/amazon/ena/ena_eth_com.h
drivers/net/ethernet/amazon/ena/ena_ethtool.c
drivers/net/ethernet/amazon/ena/ena_netdev.c