mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-16 01:42:39 +00:00
HV:common:fix "expression is not Boolean"
MISRA C explicit required expression should be boolean when in branch statements (if,while...). Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
|
||||
void __stack_chk_fail(void)
|
||||
{
|
||||
ASSERT(0, "stack check fails in HV\n");
|
||||
ASSERT(false, "stack check fails in HV\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user