]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Do not return err in ndo_stop() callback
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 28 Apr 2026 06:53:16 +0000 (08:53 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Apr 2026 01:29:54 +0000 (18:29 -0700)
commit4ca01292ea2f2363660610a65ba0285d7c3309ed
tree9db972c62902c0d9f0dcc771bae9887e055f9bbe
parentb31681206e3f527970a7c7ed807fbf6a028fc25b
net: airoha: Do not return err in ndo_stop() callback

Always complete the airoha_dev_stop() routine regardless of the
airoha_set_vip_for_gdm_port() return value, since errors from
ndo_stop() are ignored by the networking stack and the interface is
always considered down after the call.

Fixes: 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260428-airoha-ndo-stop-not-err-v1-1-674506d29a91@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c