diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-05 19:54:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-11 09:28:48 (GMT) |
commit | 9f8c4265bda4a6e9aa97041d5cfd91386f460b65 (patch) | |
tree | c3a00621d581f3f03ccb04305f2bd85e34541de0 /fs/nilfs2/ifile.c | |
parent | 2786aae7fc935e44f81d5f359b6a768c81b46a9b (diff) | |
download | linux-fsl-qoriq-9f8c4265bda4a6e9aa97041d5cfd91386f460b65.tar.xz |
sh_eth: fix result of sh_eth_check_reset() on timeout
When the first loop in sh_eth_check_reset() runs to its end, 'cnt' is 0, so the
following check for 'cnt < 0' fails to catch the timeout. Fix the condition in
this check, so that the timeout is actually reported.
While at it, fix the grammar in the failure message...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/nilfs2/ifile.c')
0 files changed, 0 insertions, 0 deletions