Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9518
b: refs/heads/master
c: e31a127
h: refs/heads/master
v: v3
  • Loading branch information
Jody McIntyre authored and Linus Torvalds committed Sep 30, 2005
1 parent d03afd6 commit 75fc44a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 328699bf0ff4d35a9932ce279441f955e78a890e
refs/heads/master: e31a127c2f99b9cb9abc99a1ec22b75194890800
4 changes: 2 additions & 2 deletions trunk/drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ static int nodemgr_bus_read(struct csr1212_csr *csr, u64 addr, u16 length,
struct nodemgr_csr_info *ci = (struct nodemgr_csr_info*)__ci;
int i, ret = 0;

for (i = 0; i < 3; i++) {
for (i = 1; ; i++) {
ret = hpsb_read(ci->host, ci->nodeid, ci->generation, addr,
buffer, length);
if (!ret)
if (!ret || i == 3)
break;

if (msleep_interruptible(334))
Expand Down

0 comments on commit 75fc44a

Please sign in to comment.