[PATCH V2 net-next 0/8] There are some cleanup for hns3 driver

From: Jijie Shao
Date: Mon Jun 16 2025 - 21:10:11 EST


There are some cleanup for hns3 driver

---
ChangeLog:
v1 -> v2:
- Change commit message and title, suggested by Michal Swiatkowski.
v1: https://lore.kernel.org/all/20250612021317.1487943-1-shaojijie@xxxxxxxxxx/
---

Jian Shen (1):
net: hns3: set the freed pointers to NULL when lifetime is not end

Jijie Shao (4):
net: hns3: fix spelling mistake "reg_um" -> "reg_num"
net: hns3: use hns3_get_ae_dev() helper to reduce the unnecessary
middle layer conversion
net: hns3: use hns3_get_ops() helper to reduce the unnecessary middle
layer conversion
net: hns3: add complete parentheses for some macros

Peiyang Wang (2):
net: hns3: add \n at the end when print msg
net: hns3: clear hns alarm: comparison of integer expressions of
different signedness

Yonglong Liu (1):
net: hns3: delete redundant address before the array

.../hns3/hns3_common/hclge_comm_cmd.c | 2 +-
.../ethernet/hisilicon/hns3/hns3_debugfs.c | 10 +--
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 38 +++++-----
.../net/ethernet/hisilicon/hns3/hns3_enet.h | 4 +-
.../ethernet/hisilicon/hns3/hns3_ethtool.c | 75 ++++++++++---------
.../hisilicon/hns3/hns3pf/hclge_debugfs.c | 15 ++--
.../hisilicon/hns3/hns3pf/hclge_main.c | 38 +++++-----
.../hisilicon/hns3/hns3pf/hclge_mbx.c | 7 +-
.../hisilicon/hns3/hns3pf/hclge_mdio.c | 2 +-
.../hisilicon/hns3/hns3pf/hclge_ptp.h | 2 +-
.../hisilicon/hns3/hns3vf/hclgevf_main.c | 8 +-
.../hisilicon/hns3/hns3vf/hclgevf_mbx.c | 2 +-
.../hisilicon/hns3/hns3vf/hclgevf_regs.c | 27 +++----
13 files changed, 120 insertions(+), 110 deletions(-)

--
2.33.0