Skip to content

Commit 680646e

Browse files
committed
OvmfPkg/VirtioSerialDxe: explitly clear return value in GetControl
Signed-off-by: Gerd Hoffmann <[email protected]>
1 parent fdb3e5d commit 680646e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OvmfPkg/VirtioSerialDxe/VirtioSerialPort.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ VirtioSerialIoGetControl (
132132
OUT UINT32 *Control
133133
)
134134
{
135+
*Control = 0;
135136
return EFI_SUCCESS;
136137
}
137138

0 commit comments

Comments
 (0)