acrn-hypervisor/hypervisor/arch/x86/guest
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
..
guest.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
instr_emul_wrapper.c HV: instr_emul: enforce unsignedness when possible 2018-07-05 13:14:07 +08:00
instr_emul_wrapper.h HV: instr_emul: make SEG_DESC_* macros having type bool 2018-07-05 13:14:07 +08:00
instr_emul.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
instr_emul.h HV: instr_emul: enforce unsignedness when possible 2018-07-05 13:14:07 +08:00
pm.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
ucode.c HV:guest:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
vcpu.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
vioapic.c HV: vioapic: use uint8_t for pins 2018-07-05 15:54:52 +08:00
vlapic_priv.h hv:merge struct lapic and lapic_regs to lapic_regs 2018-07-02 10:49:14 +08:00
vlapic.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
vm.c hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
vmcall.c HV: Make all trace event prefix consist with TRACE 2018-07-02 10:46:41 +08:00
vmsr.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
vpic.c HV:treewide:Update return type of function ffs64 and ffz64 2018-07-02 15:11:22 +08:00