Skip to content
Commit ea9f3bc6 authored by Roland Dreier's avatar Roland Dreier
Browse files

RDMA/nes: Rewrite expression to avoid undefined semantics



Change code like

	x = expr(++x)

that assigns to x twice without a sequence point in between to the
intended (and well-defined)

	x = expr(x + 1)

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 589643be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment