git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irda: precedence bug in irlmp_seq_hb_idx()
[pandora-kernel.git]
/
net
/
irda
/
irlmp.c
diff --git
a/net/irda/irlmp.c
b/net/irda/irlmp.c
index
6115a44
..
0721f82
100644
(file)
--- a/
net/irda/irlmp.c
+++ b/
net/irda/irlmp.c
@@
-1868,7
+1868,7
@@
static void *irlmp_seq_hb_idx(struct irlmp_iter_state *iter, loff_t *off)
for (element = hashbin_get_first(iter->hashbin);
element != NULL;
element = hashbin_get_next(iter->hashbin)) {
- if (!off ||
*off
-- == 0) {
+ if (!off ||
(*off)
-- == 0) {
/* NB: hashbin left locked */
return element;
}