wifi: libertas: handle possible spu_write_u16() errors
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 25 Jul 2023 06:04:47 +0000 (09:04 +0300)
committerKalle Valo <kvalo@kernel.org>
Tue, 1 Aug 2023 14:49:02 +0000 (17:49 +0300)
commit3e14212f79fd05c4f5bdfa4eba5ae53f75900410
treef83db4c5d3592823b253efdd1fcbeb876ba7f244
parent6c968e90198fbb2d923c4e47b7303c3ad2c25a71
wifi: libertas: handle possible spu_write_u16() errors

Check and handle (well, report at least, as it's done through the rest
of the module) possible 'spu_write_u16()' errors in 'if_spi_e2h()'.

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

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230725060531.72968-5-dmantipov@yandex.ru
drivers/net/wireless/marvell/libertas/if_spi.c