HV:treewide:string assigned to const object

In the hypervisor, some strings are assigned to non const
object, this violates MISRA C:2012.

Update the type of the object as const type since it always
points to string.

Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
This commit is contained in:
Xiangyang Wu
2018-07-05 08:55:40 +08:00
committed by lijinxia
parent 6ca99713dd
commit b74358d08e
8 changed files with 11 additions and 11 deletions

View File

@@ -8,7 +8,7 @@
#define ASSERT_H
#ifdef HV_DEBUG
void __assert(uint32_t line, const char *file, char *txt);
void __assert(uint32_t line, const char *file, const char *txt);
#define ASSERT(x, ...) \
if (!(x)) {\