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

Skip to content
Commit cf9c784c authored by Prashanth Bhatta's avatar Prashanth Bhatta
Browse files

icnss: Fix return value for register_driver



With change commit 0da8e4a2 ("icnss: Wait uninterruptible for
unregister driver"), return value changed from -ERESTARTSYS to -EINTR to
provide right return value to user space but as part of the change,
missed to update register driver case. Returning error even when driver
register is failed causes the module loader to remove the module because
of failure even though register driver as such is success.

CRs-fixed: 1078316
Change-Id: Ib3d13360def3ab47f121c66057c96977f5264043
Signed-off-by: default avatarPrashanth Bhatta <bhattap@codeaurora.org>
parent 827d0483
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