acrn-hypervisor/hypervisor/arch
Binbin Wu e8b3e44fc0 hv: assign: fix MISRA-C violations on potential null pointer deference
This patch fix the MISRA-C violations in arch/x86/assign.c
on potential null pointer deference.
Also add a break in case statement.

Tracked-On: #861
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-12-20 13:43:47 +08:00
..
x86 hv: assign: fix MISRA-C violations on potential null pointer deference 2018-12-20 13:43:47 +08:00