Page MenuHomeFreeBSD

bhyve: Fix -Wunused warnings in pci_nvme.c
ClosedPublic

Authored by markj on Aug 10 2022, 5:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 26, 12:56 PM
Unknown Object (File)
Mon, May 25, 12:36 PM
Unknown Object (File)
Mon, May 25, 11:11 AM
Unknown Object (File)
Sun, May 24, 11:39 PM
Unknown Object (File)
Fri, May 22, 7:02 PM
Unknown Object (File)
Tue, May 5, 8:04 PM
Unknown Object (File)
Apr 29 2026, 5:24 AM
Unknown Object (File)
Apr 29 2026, 5:17 AM

Details

Summary

Currently these are not reported because bhyve is compiled with WARNS=2.
Let's start taking small steps towards enabling more warnings.

No functional change intended.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46863
Build 43752: arc lint + arc unit

Event Timeline

markj requested review of this revision.Aug 10 2022, 5:30 PM
This revision is now accepted and ready to land.Aug 10 2022, 5:51 PM

Pass cdw0 through in pci_nvme_set_completion().

This revision now requires review to proceed.Aug 11 2022, 2:46 PM

The 16.0c test pass with these changes.

This revision is now accepted and ready to land.Aug 13 2022, 1:30 AM