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)
Feb 23 2024, 8:14 AM
Unknown Object (File)
Feb 23 2024, 8:14 AM
Unknown Object (File)
Feb 23 2024, 8:14 AM
Unknown Object (File)
Feb 23 2024, 8:13 AM
Unknown Object (File)
Feb 23 2024, 8:01 AM
Unknown Object (File)
Dec 20 2023, 3:51 AM
Unknown Object (File)
Dec 12 2023, 6:33 AM
Unknown Object (File)
Nov 15 2023, 9:33 PM

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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