net: ena: explicit casting and initialization, and clearer error handling
authorArthur Kiyanovski <akiyano@amazon.com>
Thu, 11 Oct 2018 08:26:22 +0000 (11:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:13:51 +0000 (10:13 -0700)
commitbd791175a6432d24fc5d7b348304276027372545
tree008ef753cd63e8d21011e16f7c3826cbbe92c156
parentcb36bb36e1f17d2a7b9a9751e5cfec4235b46c93
net: ena: explicit casting and initialization, and clearer error handling

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_netdev.c
drivers/net/ethernet/amazon/ena/ena_netdev.h