Home
last modified time | relevance | path

Searched hist:e60c5e14 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/atm/
H A Dhe.ce60c5e14 Sun Apr 17 02:07:55 CDT 2011 David S. Miller <davem@davemloft.net> 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>
e60c5e14 Sun Apr 17 02:07:55 CDT 2011 David S. Miller <davem@davemloft.net> 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>