git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd18257
)
atm: he: Fix undefined sequence points.
author
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 07:07:55 +0000
(
00:07
-0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 17 Apr 2011 07:07:55 +0000
(
00:07
-0700)
GCC complains in these queue index operations because we
perform operations of the form:
x = some_operation(++x);
which is undefined. Replace with:
x = some_operation(x + 1);
which is well defined and provides the intended operation.
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found