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

Skip to content
Commit ecc3f3ed authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Nicholas Bellinger
Browse files

ib_srpt: wait_for_completion_timeout does not return negative status



This patch changes srpt_close_session() to properly use an unsigned long
for wait_for_completion_timeout()'s return value, and to update WARN_ON()
to only trigger for a zero return.

Signed-off-by: default avatarNicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 5cdf5a87
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