diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2016-07-23 21:08:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-24 22:49:57 +0200 |
commit | 33d5097dbf650b84238c6ebdfea4a335f64f9608 (patch) | |
tree | 3d178322f9ae6289d056351e97605f013204d6fc /lib/sha1.c | |
parent | Linux 4.7 (diff) | |
download | linux-33d5097dbf650b84238c6ebdfea4a335f64f9608.tar.xz linux-33d5097dbf650b84238c6ebdfea4a335f64f9608.zip |
spi: pic32-sqi: fixup wait_for_completion_timeout return handling
wait_for_completion_timeout returns unsigned long not int so the check for
<= 0 should be == 0 here, and the type unsigned long. The function return
is set to -ETIMEDOUT to reflect the actual problem.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions