Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338477
b: refs/heads/master
c: 49b2746
h: refs/heads/master
i:
  338475: a1748b7
v: v3
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Nov 28, 2012
1 parent efb91c9 commit a02fbea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: a321846492f9ce3bab27f826e6579217fbc35732
refs/heads/master: 49b2746e1426ffa188421996a0323bdd47657108
11 changes: 3 additions & 8 deletions trunk/drivers/staging/fwserial/fwserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -939,14 +939,9 @@ static void fwserial_destroy(struct kref *kref)

mutex_lock(&port_table_lock);
for (j = 0; j < num_ports; ++i, ++j) {
static bool once;
int corrupt = port_table[i] != ports[j];
if (corrupt && !once) {
WARN(corrupt, "port_table[%d]: %p != ports[%d]: %p",
i, port_table[i], j, ports[j]);
once = true;
port_table_corrupt = true;
}
port_table_corrupt |= port_table[i] != ports[j];
WARN_ONCE(port_table_corrupt, "port_table[%d]: %p != ports[%d]: %p",
i, port_table[i], j, ports[j]);

port_table[i] = NULL;
}
Expand Down

0 comments on commit a02fbea

Please sign in to comment.