Tag: a843311d87b69540641d491b97b328309d3a28a1

net: tsi108: use NULL for pointer-typed argument

Author: Julia Lawall <julia.lawall@lip6.fr> The first argument of pci_free_consistent has type struct pci_dev *, so use NULL instead of 0. The semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ @@ pci_free_consistent( – 0 + NULL , …) // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller — drivers/net/ethernet/tundra/tsi108_eth.c | 3 ++- 1 …

Continue reading