Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a3b3842c authored by Marina Makienko's avatar Marina Makienko Committed by Kalle Valo
Browse files

ath6kl: check usb_register() return value



ath6kl_usb_init() does not check usb_register() return value.
As a result it may incorrectly report success of driver initialization.

Found by Linux Driver Verification project (linuxtesting.org).

kvalo: fix commit title and make cosmetic changes to the code to follow
more the style used in the driver

Signed-off-by: default avatarMarina Makienko <makienko@ispras.ru>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 8114f9b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment