HV: code cleanup as MISRA-C report for guest/vmsr

like: constant of unsigned int need add U/UL as surfix.
enum value can't use to give or compare with int directlly.
unsigned and signed mis-matched

Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Minggui Cao
2018-07-10 19:07:46 +08:00
committed by Jack Ren
parent 8c43ad54bf
commit 4cab8b9cc5
5 changed files with 78 additions and 78 deletions

View File

@@ -18,7 +18,7 @@
#ifndef BSP_EXTERN_H
#define BSP_EXTERN_H
#define UOS_DEFAULT_START_ADDR (0x100000000)
#define UOS_DEFAULT_START_ADDR (0x100000000UL)
/**********************************/
/* EXTERNAL VARIABLES */
/**********************************/