acrn-hypervisor/hypervisor/debug
Mingqiang Chi deb44402e3 hv:fix "missing for discarded return value" for memcpy_s and strcpy_s
It will print error information inside memcpy_s if
the parameteter is invalid, the caller can not check
the return value for memcpy_s/strcpy_s/strncpy_s
code like this:
int a(void) {
return 0;
}
int b(void){
a();
}
fix as follow:
int a(void) {
return 0;
}
int b(void){
(void)a();
}

Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
2018-07-09 09:22:37 +08:00
..
console.c HV:debug:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
dump.c HV:treewide:string assigned to const object 2018-07-05 11:13:51 +08:00
logmsg.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
printf.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
sbuf.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
serial_internal.h HV:treewide:string assigned to const object 2018-07-05 11:13:51 +08:00
serial.c HV:treewide:string assigned to const object 2018-07-05 11:13:51 +08:00
shell_internal.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
shell_internal.h HV:treewide:string assigned to const object 2018-07-05 11:13:51 +08:00
shell_public.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
uart16550.c HV: uart16550: check the denominator before use 2018-07-06 11:33:36 +08:00
uart16550.h HV: treewide: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
vuart.c HV:treewide:transfer the struct member types to non-basic types 2018-06-29 15:48:19 +08:00