diff options
author | Jakub Kicinski <[email protected]> | 2017-03-21 17:59:13 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-03-22 12:59:08 -0700 |
commit | 69a4aa89315819e9eabd3a43211506d7302121a6 (patch) | |
tree | 6c903a3ac410ce54ece0fbb91a209051d8f89ded /lib/clz_tab.c | |
parent | a831ffb56048fdd1d99178c34d05469421fd2a36 (diff) |
nfp: correct return codes when msleep gets interrupted
msleep_interruptible() returns time left to wait, not error
code. Return ERESTARTSYS when interrupted.
While at it correct a comment and make the polling a bit
more aggressive.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions