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
This functions is really weird. It sets rc to -ENOMEM, then overrides
it. It was converted to PTR_RET in a145818 when it should have
simply been rewritten.
This version makes it more explicit, with a single IS_ERR() test.
Cc: Alexandru Gheorghiu <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
0 commit comments