diff options
| author | Prashanth Bhatta <bhattap@codeaurora.org> | 2016-10-17 15:36:30 -0700 |
|---|---|---|
| committer | Prashanth Bhatta <bhattap@codeaurora.org> | 2016-10-18 10:37:26 -0700 |
| commit | cf9c784ceb00390b538b00a8641d868702b43fb7 (patch) | |
| tree | e744718c4aff9c0c06c26ba4d691d461fb10e1a6 /scripts/gcc-wrapper.py | |
| parent | 827d0483007ace97844284be67624f1e06ff54e9 (diff) | |
icnss: Fix return value for register_driver
With change commit 0da8e4a21cba ("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: Prashanth Bhatta <bhattap@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
