[PATCH v4 net-next 0/7]There are some cleanup for hns3 driver
From: Jijie Shao
Date: Mon Jun 23 2025 - 00:07:58 EST
There are some cleanup for hns3 driver
---
ChangeLog:
v3 -> v4:
- Drop the patch about pointer set to NULL operation, suggested by Jakub Kicinski
v3: https://lore.kernel.org/all/20250621083310.52c8e7ae@xxxxxxxxxx/
v2 -> v3:
- Remove unnecessary pointer set to NULL operation, suggested by Simon Horman.
v2: https://lore.kernel.org/all/20250617010255.1183069-1-shaojijie@xxxxxxxxxx/
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 | 74 +++++++++----------
.../hisilicon/hns3/hns3pf/hclge_debugfs.c | 15 ++--
.../hisilicon/hns3/hns3pf/hclge_main.c | 34 ++++-----
.../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 | 4 +-
.../hisilicon/hns3/hns3vf/hclgevf_mbx.c | 2 +-
.../hisilicon/hns3/hns3vf/hclgevf_regs.c | 27 +++----
13 files changed, 111 insertions(+), 110 deletions(-)
--
2.33.0