ice: use true/false for bool types
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Jan 2020 15:21:38 +0000 (07:21 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 16 Feb 2020 02:37:56 +0000 (18:37 -0800)
Subject says it all.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_xsk.c

index b6b0f11..55d994f 100644 (file)
@@ -841,8 +841,8 @@ int ice_clean_rx_irq_zc(struct ice_ring *rx_ring, int budget)
        unsigned int total_rx_bytes = 0, total_rx_packets = 0;
        u16 cleaned_count = ICE_DESC_UNUSED(rx_ring);
        unsigned int xdp_xmit = 0;
+       bool failure = false;
        struct xdp_buff xdp;
-       bool failure = 0;
 
        xdp.rxq = &rx_ring->xdp_rxq;