diff options
author | David S. Miller <davem@davemloft.net> | 2011-04-17 09:07:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-17 09:07:55 +0200 |
commit | e60c5e14fbfcaa54f430aad80b38763a403b2158 (patch) | |
tree | 7fe90c96a38eb0caaa058fd81a3b5b83497ad54c /drivers/atm/solos-attrlist.c | |
parent | atm: eni: Kill set-but-unused variables. (diff) | |
download | linux-e60c5e14fbfcaa54f430aad80b38763a403b2158.tar.xz linux-e60c5e14fbfcaa54f430aad80b38763a403b2158.zip |
atm: he: Fix undefined sequence points.
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>
Diffstat (limited to 'drivers/atm/solos-attrlist.c')
0 files changed, 0 insertions, 0 deletions