acrn-hypervisor/hypervisor/lib
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
..
crypto hv:fix "missing for discarded return value" for memcpy_s and strcpy_s 2018-07-09 09:22:37 +08:00
div.c HV:lib:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
mdelay.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
memory.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
spinlock.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
sprintf.c hv:fix "missing for discarded return value" for memset 2018-07-05 14:14:48 +08:00
string.c HV:lib:add suffix U to the numeric constant 2018-07-05 11:29:46 +08:00
udelay.c HV: timer: keep TSC frequency in KHz 2018-07-03 10:18:06 +08:00