Re: [PATCH net-next 0/3] net: make dev_close void
From: Stephen HemmingerDate: Tue, 18 Jul 2017 15:59:24 -0700 > Noticed while working on other changes. Why is dev_close() > returning int, it should be void. Should also change > ndo_close to be void, but that requires more work and someone > with more coccinelle foo (smpl) than me. Series applied, thanks.
[PATCH net-next 0/3] net: make dev_close void
Noticed while working on other changes. Why is dev_close() returning int, it should be void. Should also change ndo_close to be void, but that requires more work and someone with more coccinelle foo (smpl) than me. Stephen Hemminger (3): bluetooth: 6lowpan dev_close never returns error hns: remove useless void cast net: make dev_close and related functions void drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 2 +- include/linux/netdevice.h| 4 ++-- net/bluetooth/6lowpan.c | 4 +--- net/core/dev.c | 26 ++-- 4 files changed, 15 insertions(+), 21 deletions(-) -- 2.11.0