mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 00:38:28 +00:00
HV: fix violations touched type conversion
ACRN Coding guidelines requires type conversion shall be explicity. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -29,7 +29,7 @@ static bool cmos_update_in_progress(void)
|
||||
static uint8_t cmos_get_reg_val(uint8_t addr)
|
||||
{
|
||||
uint8_t reg;
|
||||
int32_t tries = 2000U;
|
||||
int32_t tries = 2000;
|
||||
|
||||
spinlock_obtain(&cmos_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user