net: ena: fix auto casting to boolean
authorArthur Kiyanovski <akiyano@amazon.com>
Tue, 9 Oct 2018 08:21:30 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Oct 2018 17:49:49 +0000 (10:49 -0700)
commit248ab77342d0453f067b666b36f0f517ea66c361
tree1841744da2fbaa6e40803ca79f18be47631691bf
parent78a55d05def95144ca5fa9a64c49b2a0636a9866
net: ena: fix auto casting to boolean

Eliminate potential auto casting compilation error.

Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_eth_com.c