Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
net
/
irda
/
irlmp.c
diff --git
a/kernel/net/irda/irlmp.c
b/kernel/net/irda/irlmp.c
index
a26c401
..
4396459
100644
(file)
--- a/
kernel/net/irda/irlmp.c
+++ b/
kernel/net/irda/irlmp.c
@@
-1839,7
+1839,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)) {
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;
}
/* NB: hashbin left locked */
return element;
}