hv: add suffix(U/UL) to come up MISRA-C into include

MISRA-C required the suffix(U/UL), such as:
(1) ---> (1U)
(1) ---> (1UL)
(1U << 0) ---> (1U << 0U)
This patch will add the suffix(U/UL) to come up MISRA-C into
hypervisor/include directory.

Tracked-On: #1468
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Wei Liu
2018-10-15 13:06:43 +08:00
committed by Xie, Nanlin
parent 909d157630
commit 96412ac147
12 changed files with 49 additions and 49 deletions

View File

@@ -19,7 +19,7 @@
* Common structures for HV/VHM
*/
#define BASE_HC_ID(x, y) (((x)<<24)|(y))
#define BASE_HC_ID(x, y) (((x)<<24U)|(y))
#define HC_ID 0x80UL