broadcom: b44: Use b44_writephy() return value

[ Upstream commit 9944d203fa ]

Return result of b44_writephy() instead of zero to
deal with possible error.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Artem Chernyshev <artem.chernyshev@red-soft.ru>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Artem Chernyshev 2023-08-15 00:00:30 +03:00 • committed by Greg Kroah-Hartman
commit 2e3f9bfe44