[PATCH net-next 0/2] There are a cleancode and a parameter check for hns3 driver

Jijie Shao posted 2 patches 1 month, 2 weeks ago
.../ethernet/hisilicon/hns3/hns3_ethtool.c    | 33 +++++++++++++++++++
.../hisilicon/hns3/hns3pf/hclge_main.c        |  4 +--
2 files changed, 35 insertions(+), 2 deletions(-)
[PATCH net-next 0/2] There are a cleancode and a parameter check for hns3 driver
Posted by Jijie Shao 1 month, 2 weeks ago
This patchset includes:
 1. a parameter check omitted from fix code in net branch
   https://lore.kernel.org/all/20250723072900.GV2459@horms.kernel.org/
 2. a small clean code

Jijie Shao (2):
  net: hns3: add parameter check for tx_copybreak and tx_spare_buf_size
  net: hns3: change the function return type from int to bool

 .../ethernet/hisilicon/hns3/hns3_ethtool.c    | 33 +++++++++++++++++++
 .../hisilicon/hns3/hns3pf/hclge_main.c        |  4 +--
 2 files changed, 35 insertions(+), 2 deletions(-)

-- 
2.33.0