acrn-hypervisor/hypervisor/debug
Shiqing Gao 8787c06d3b hv: arch: fix 'Unused procedure parameter'
MISRA-C requires that there should be no unused parameters in
functions.

In some cases, we will keep the unused parameters.
vmexit handler is one example. It is used as function pointer.
Some of the vmexit handlers use the input parameter 'vcpu', some of
them don't. We still need to keep the unused parameters 'vcpu' for
those handlers don't use 'vcpu'.

This patch removes the unused parameters that is not being used
unconditionally.

v1 -> v2:
 * remove the non-implemented API 'vlapic_id_write_handler'

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-09-26 10:48:55 +08:00
..
console.c hv:Replace vuart pointer with instance in structure vm 2018-08-27 09:49:12 +08:00
dump.c hv: fix ramdump regression 2018-09-26 10:41:09 +08:00
logmsg.c hv:treewide:fix multiple MISRAC violations 2018-09-13 11:12:29 +08:00
npk_log.c Add a comment for switch fallthrough to quiet lint warning 2018-09-19 14:32:02 +08:00
printf.c hv: treewide: fix 'Potential side effect problem in expression' 2018-08-08 10:50:06 +08:00
sbuf.c HV: Logical conjunction needs brackets 2018-08-14 09:53:32 +08:00
shell_priv.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
shell.c Add a comment for switch fallthrough to quiet lint warning 2018-09-19 14:32:02 +08:00
uart16550.c hv:Fix Implict conversion:actual to formal param 2018-09-18 13:09:39 +08:00
uart16550.h hv:cleanup console/uart code 2018-08-02 11:25:40 +08:00
vuart.c hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00