[PATCH net-next 0/3] net: amd: Cleanup for clearing static warnings

From: Haoyue Xu
Date: Wed Sep 07 2022 - 02:29:03 EST


Most static warnings are detected by tools, mainly about:

(1) #1: About the if stament.
(2) #2: About the spelling.
(2) #3: About the indent.

Guofeng Yue (3):
net: amd: Unified the comparison between pointers and NULL to the same
writing
net: amd: Correct spelling errors
net: amd: Switch and case should be at the same indent

drivers/net/ethernet/amd/a2065.c | 2 +-
drivers/net/ethernet/amd/amd8111e.c | 45 +++++++++++++--------------
drivers/net/ethernet/amd/amd8111e.h | 2 +-
drivers/net/ethernet/amd/ariadne.c | 4 +--
drivers/net/ethernet/amd/atarilance.c | 10 +++---
drivers/net/ethernet/amd/au1000_eth.c | 6 ++--
drivers/net/ethernet/amd/lance.c | 4 +--
drivers/net/ethernet/amd/nmclan_cs.c | 18 +++++------
drivers/net/ethernet/amd/pcnet32.c | 12 +++----
drivers/net/ethernet/amd/sun3lance.c | 4 +--
drivers/net/ethernet/amd/sunlance.c | 4 +--
11 files changed, 55 insertions(+), 56 deletions(-)

--
2.30.0