acrn-hypervisor/hypervisor/common
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
..
hv_main.c HV:common:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
hypercall.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
io_request.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
ptdev.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
schedule.c HV:common:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
trusty_hypercall.c HV:common:transfer local variable type 2018-06-29 09:49:29 +08:00
vm_load.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00