Skip to content

Commit

Permalink
net: igb_main.c fix sparse integer as NULL pointer warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Harvey Harrison authored and Jeff Garzik committed Jul 22, 2008
1 parent f8e5e77 commit 25ac3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/igb/igb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ static void igb_configure_msix(struct igb_adapter *adapter)

for (i = 0; i < adapter->num_rx_queues; i++) {
struct igb_ring *rx_ring = &adapter->rx_ring[i];
rx_ring->buddy = 0;
rx_ring->buddy = NULL;
igb_assign_vector(adapter, i, IGB_N0_QUEUE, vector++);
adapter->eims_enable_mask |= rx_ring->eims_value;
if (rx_ring->itr_val)
Expand Down

0 comments on commit 25ac3c2

Please sign in to comment.