commit | f8c141c3e915e3a040d4c1badde28e23f8cbe255 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Dec 09 09:35:39 2011 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 12 14:23:27 2011 -0500 |
tree | d2b8b3f0530f284fb14e636199decbd3f9105c2a | |
parent | 123877b80ed62c3b897c53357b622574c023b642 [diff] |
nfc: signedness bug in __nci_request() wait_for_completion_interruptible_timeout() returns -ERESTARTSYS if interrupted so completion_rc needs to be signed. The current code probably returns -ETIMEDOUT if we hit this situation, but after this patch is applied it will return -ERESTARTSYS. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>