lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230804112825.1697920-1-shaozhengchao@huawei.com>
Date: Fri, 4 Aug 2023 19:28:23 +0800
From: Zhengchao Shao <shaozhengchao@...wei.com>
To: <netdev@...r.kernel.org>, <bpf@...r.kernel.org>, <davem@...emloft.net>,
	<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>
CC: <jiri@...nulli.us>, <weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
	<shaozhengchao@...wei.com>
Subject: [PATCH net-next 0/2] team: change return value of init and getter in the team_option structure to void

Because the init and getter function always returns 0, so change return
value of init and getter in the team_option structure to void and remove
redundant code.

Zhengchao Shao (2):
  team: change return value of init in the team_option structure to void
  team: change return value of getter in the team_option structure to
    void

 drivers/net/team/team.c                   | 60 +++++++++--------------
 drivers/net/team/team_mode_activebackup.c |  8 ++-
 drivers/net/team/team_mode_loadbalance.c  | 39 ++++++---------
 include/linux/if_team.h                   |  4 +-
 4 files changed, 44 insertions(+), 67 deletions(-)

-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ