Files
acrn-hypervisor/hypervisor/debug
Shiqing Gao c0544c9d36 hv: treewide: fix 'Potential side effect problem in expression'
MISRA-C requirement:
The value of an expression shall be the same under any order of
evaluation.
The order in which side effects take place is unspecified and may lead
to unexpected results.

This patch add a temporary variable for temporary storage to avoid the
side effects of evaluation order.

Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-08-08 10:50:06 +08:00
..
2018-08-02 11:25:40 +08:00
2018-08-07 09:55:13 +08:00
2018-08-02 09:51:58 +08:00
2018-08-02 09:51:58 +08:00
2018-08-07 09:55:13 +08:00
2018-08-02 11:25:40 +08:00
2018-08-02 11:25:40 +08:00