mbox series

[net-next,v2,0/5] bonding: do some cleanups in bond driver

Message ID 20230810135007.3834770-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series bonding: do some cleanups in bond driver | expand

Message

shaozhengchao Aug. 10, 2023, 1:50 p.m. UTC
Do some cleanups in bond driver.

---
v2: use IS_ERR instead of NULL check in patch 2/5, update commit 
    information in patch 3/5, remove inline modifier in patch 4/5
---
Zhengchao Shao (5):
  bonding: add modifier to initialization function and exit function
  bonding: use IS_ERR instead of NULL check in bond_create_debugfs
  bonding: remove redundant NULL check in debugfs function
  bonding: use bond_set_slave_arr to simplify code
  bonding: remove unnecessary NULL check in bond_destructor

 drivers/net/bonding/bond_debugfs.c | 15 +++-----------
 drivers/net/bonding/bond_main.c    | 32 ++++--------------------------
 drivers/net/bonding/bond_sysfs.c   |  4 ++--
 3 files changed, 9 insertions(+), 42 deletions(-)

Comments

Hangbin Liu Aug. 11, 2023, 6:04 a.m. UTC | #1
On Thu, Aug 10, 2023 at 09:50:02PM +0800, Zhengchao Shao wrote:
> Do some cleanups in bond driver.

Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
> 
> ---
> v2: use IS_ERR instead of NULL check in patch 2/5, update commit 
>     information in patch 3/5, remove inline modifier in patch 4/5
> ---
> Zhengchao Shao (5):
>   bonding: add modifier to initialization function and exit function
>   bonding: use IS_ERR instead of NULL check in bond_create_debugfs
>   bonding: remove redundant NULL check in debugfs function
>   bonding: use bond_set_slave_arr to simplify code
>   bonding: remove unnecessary NULL check in bond_destructor
> 
>  drivers/net/bonding/bond_debugfs.c | 15 +++-----------
>  drivers/net/bonding/bond_main.c    | 32 ++++--------------------------
>  drivers/net/bonding/bond_sysfs.c   |  4 ++--
>  3 files changed, 9 insertions(+), 42 deletions(-)
> 
> -- 
> 2.34.1
>
patchwork-bot+netdevbpf@kernel.org Aug. 11, 2023, 10:20 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 10 Aug 2023 21:50:02 +0800 you wrote:
> Do some cleanups in bond driver.
> 
> ---
> v2: use IS_ERR instead of NULL check in patch 2/5, update commit
>     information in patch 3/5, remove inline modifier in patch 4/5
> ---
> Zhengchao Shao (5):
>   bonding: add modifier to initialization function and exit function
>   bonding: use IS_ERR instead of NULL check in bond_create_debugfs
>   bonding: remove redundant NULL check in debugfs function
>   bonding: use bond_set_slave_arr to simplify code
>   bonding: remove unnecessary NULL check in bond_destructor
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/5] bonding: add modifier to initialization function and exit function
    https://git.kernel.org/netdev/net-next/c/e08190ef514f
  - [net-next,v2,2/5] bonding: use IS_ERR instead of NULL check in bond_create_debugfs
    https://git.kernel.org/netdev/net-next/c/57647e6fdf17
  - [net-next,v2,3/5] bonding: remove redundant NULL check in debugfs function
    https://git.kernel.org/netdev/net-next/c/cc317ea3d927
  - [net-next,v2,4/5] bonding: use bond_set_slave_arr to simplify code
    https://git.kernel.org/netdev/net-next/c/a8f3f4b44845
  - [net-next,v2,5/5] bonding: remove unnecessary NULL check in bond_destructor
    https://git.kernel.org/netdev/net-next/c/f5370ba3590d

You are awesome, thank you!