]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc08024df26e74494dbf71c46503942a2c8be1598
tree932f574c13ae45cfaf7e8a81b01c9f59ddefcc2a
parent09cf04a96927f9c79352d242e7a11e4dcdc0b278
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