mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 03:40:27 +00:00
HV: vuart: MISRA clean in vuart.c
1. remove multiple return 2. remove goto 3. fix potential NULL pointer dereferencing 4. rename struct fifo to struct vuart_fifo to avoid naming conflicts. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
c61db6ffa0
commit
a4b5e39fab
@@ -48,7 +48,7 @@
|
||||
#define COM3_IRQ 6U
|
||||
#define COM4_IRQ 7U
|
||||
|
||||
struct fifo {
|
||||
struct vuart_fifo {
|
||||
char *buf;
|
||||
uint32_t rindex; /* index to read from */
|
||||
uint32_t windex; /* index to write to */
|
||||
|
Reference in New Issue
Block a user