Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88097
b: refs/heads/master
c: 3d0ae36
h: refs/heads/master
i:
  88095: 1bda9a7
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Apr 2, 2008
1 parent 88a596c commit 45f874a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 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: ffc41cf8dbb1b895a87daf47d0e5bf6dfbfcab4c
refs/heads/master: 3d0ae36ea973b42e1c636210433aebef4426c5bf
12 changes: 7 additions & 5 deletions trunk/drivers/char/ip2/i2lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -644,12 +644,12 @@ i2QueueCommands(int type, i2ChanStrPtr pCh, int timeout, int nCommands,
// Normal Expected path - We still hold LOCK
break; /* from for()- Enough room: goto proceed */
}
}

ip2trace (CHANN, ITRC_QUEUE, 3, 1, totalsize );
ip2trace(CHANN, ITRC_QUEUE, 3, 1, totalsize);
WRITE_UNLOCK_IRQRESTORE(lock_var_p, flags);
} else
ip2trace(CHANN, ITRC_QUEUE, 3, 1, totalsize);

// Prepare to wait for buffers to empty
WRITE_UNLOCK_IRQRESTORE(lock_var_p,flags);
/* Prepare to wait for buffers to empty */
serviceOutgoingFifo(pB); // Dump what we got

if (timeout == 0) {
Expand Down Expand Up @@ -1830,6 +1830,8 @@ i2StripFifo(i2eBordStrPtr pB)
default: // Neither packet? should be impossible
ip2trace (ITRC_NO_PORT, ITRC_SFIFO, 5, 1,
PTYPE_OF(pB->i2eLeadoffWord) );
WRITE_UNLOCK_IRQRESTORE(&pB->read_fifo_spinlock,
bflags);

break;
} // End of switch on type of packets
Expand Down

0 comments on commit 45f874a

Please sign in to comment.