diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-07-16 15:45:27 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-22 17:54:12 -0400 |
commit | 25ac3c24839002298e9329a5fda305e5383b1dc7 (patch) | |
tree | a1e6cbde207273dd304634ed42639a904144d400 /drivers/net/igb/igb_main.c | |
parent | f8e5e776a3ac29705b1a357b23cad0920ef1a1d2 (diff) |
net: igb_main.c fix sparse integer as NULL pointer warning
drivers/net/igb/igb_main.c:388:20: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r-- | drivers/net/igb/igb_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 1b7cb29fe68e..b602c4dd0d14 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -385,7 +385,7 @@ static void igb_configure_msix(struct igb_adapter *adapter) | |||
385 | 385 | ||
386 | for (i = 0; i < adapter->num_rx_queues; i++) { | 386 | for (i = 0; i < adapter->num_rx_queues; i++) { |
387 | struct igb_ring *rx_ring = &adapter->rx_ring[i]; | 387 | struct igb_ring *rx_ring = &adapter->rx_ring[i]; |
388 | rx_ring->buddy = 0; | 388 | rx_ring->buddy = NULL; |
389 | igb_assign_vector(adapter, i, IGB_N0_QUEUE, vector++); | 389 | igb_assign_vector(adapter, i, IGB_N0_QUEUE, vector++); |
390 | adapter->eims_enable_mask |= rx_ring->eims_value; | 390 | adapter->eims_enable_mask |= rx_ring->eims_value; |
391 | if (rx_ring->itr_val) | 391 | if (rx_ring->itr_val) |