HomeFreeBSD

bhyve: Don't leak uninitialized bits in NVMe completion statuses.

Description

bhyve: Don't leak uninitialized bits in NVMe completion statuses.

In some cases, some bits in the 16-bit status word were never
initialized.

Reported by: GCC
Reviewed by: corvink, chuck, markj
Differential Revision: https://reviews.freebsd.org/D37486

Details

Provenance
jhbAuthored on Nov 29 2022, 1:08 AM
Reviewer
corvink
Differential Revision
D37486: bhyve: Don't leak uninitialized bits in NVMe completion statuses.
Parents
rGe7cd5ffff88f: bhyve: Fix sign compare warnings in the e1000 device model.
Branches
Unknown
Tags
Unknown