# \[PATCHv2 0/2\] ethernet: Use NULL to compare with pointer-typed value rather than 0

- From: zhong jiang \<hidden\>
- Date: 2018-08-18 06:44:26 
- List: netdev
- Page: https://ratatoskr.run/netdev/2018/08/5359383
- Thread: https://ratatoskr.run/netdev/2018/08/5359383/t.md

```text
v1->v2:
 - According to Vladimir's suggestion. change a common 0 and NULL comparsion form.

zhong jiang (2):
  ethernet: declance:  Use NULL to compare with pointer-typed value
    rather than 0
  ethernet: lpc_eth: Use NULL to compare with pointer-typed value
    rather than 0

 drivers/net/ethernet/amd/declance.c | 3 +--
 drivers/net/ethernet/nxp/lpc_eth.c  | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
1.7.12.4
```
