You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel: fix error propagation for device deferred initialization
This fix propagates the failure code returned from the device
initialization function to the application. Previously, do_device_init()
mistakely returned errno instead of -errno. We use an intermediate variable
to compute the value to store in dev->state->init_res, and return the
value from the device's init untouched.
Signed-off-by: Loic Domaigne <tech@domaigne.com>
0 commit comments