linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] net: igb_main.c fix sparse integer as NULL pointer warning
@ 2008-07-16 19:45 Harvey Harrison
  2008-07-22 22:02 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-07-16 19:45 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, linux-net

drivers/net/igb/igb_main.c:388:20: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Appeared between next-20080715->next-20080716

 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 043b630..1769c5a 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)
 
 	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)
-- 
1.5.6.3.499.geae9



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] net: igb_main.c fix sparse integer as NULL pointer warning
  2008-07-16 19:45 [PATCH 1/2] net: igb_main.c fix sparse integer as NULL pointer warning Harvey Harrison
@ 2008-07-22 22:02 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-07-22 22:02 UTC (permalink / raw)
  To: Harvey Harrison; +Cc: David Miller, linux-next, linux-net

Harvey Harrison wrote:
> drivers/net/igb/igb_main.c:388:20: warning: Using plain integer as NULL pointer
> 
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
> ---
> Appeared between next-20080715->next-20080716
> 
>  drivers/net/igb/igb_main.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

applied 1-2



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-22 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-16 19:45 [PATCH 1/2] net: igb_main.c fix sparse integer as NULL pointer warning Harvey Harrison
2008-07-22 22:02 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).