summaryrefslogtreecommitdiff
path: root/drivers/net/hyperv/netvsc.c
diff options
context:
space:
mode:
authorYangtao Li <frank.li@vivo.com>2023-07-27 15:00:22 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2023-08-15 12:45:05 +0200
commita29e8b51a07e1785bb2a0cf334c801f2af7d69c5 (patch)
treee97970f5ba8fc347ff9cef0252b867d0467b367e /drivers/net/hyperv/netvsc.c
parentf67cd7f6d3678dbe8a370655f41d4a9d85c73bbc (diff)
mmc: sdhci-of-aspeed: Convert to platform remove
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to make the remove callback return void. In the first step of this quest all drivers are converted to .remove_new() which already returns void. Trivially convert this driver from always returning zero in the remove callback to the void returning variant. Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Yangtao Li <frank.li@vivo.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20230727070051.17778-33-frank.li@vivo.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/net/hyperv/netvsc.c')
0 files changed, 0 insertions, 0 deletions
_mr: Protect multicast route list with a lockIdo Schimmel 2020-02-22mlxsw: spectrum_mr: Protect multicast table list with a lockIdo Schimmel 2020-02-22mlxsw: spectrum_mr: Publish multicast route after writing it to the deviceIdo Schimmel 2020-02-21net/mlx5: Add fsm_reactivate callback supportEran Ben Elisha 2020-02-21net/mlxfw: Add reactivate flow support to FSM burn flowEran Ben Elisha 2020-02-21net/mlxfw: Use MLXFW_ERR_MSG macro for error reportingSaeed Mahameed 2020-02-21net/mlxfw: Convert pr_* to dev_* in mlxfw_fsm.cSaeed Mahameed 2020-02-21net/mlxfw: More error messages coverageSaeed Mahameed 2020-02-21net/mlxfw: Improve FSM err message reporting and return codesSaeed Mahameed 2020-02-21net/mlxfw: Generic mlx FW flash status notifySaeed Mahameed