projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8e5e77
)
net: igb_main.c fix sparse integer as NULL pointer warning
author
Harvey Harrison
<harvey.harrison@gmail.com>
Wed, 16 Jul 2008 19:45:27 +0000
(12:45 -0700)
committer
Jeff Garzik
<jgarzik@redhat.com>
Tue, 22 Jul 2008 21:54:12 +0000
(17:54 -0400)
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>
drivers/net/igb/igb_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/igb/igb_main.c
b/drivers/net/igb/igb_main.c
index 1b7cb29fe68e23eb8900baa00cca1064bec61c05..b602c4dd0d14697eef9fa10ee90c7080c853d269 100644
(file)
--- 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)