Page MenuHomeFreeBSD

bhyve: unsigned <= 0
ClosedPublic

Authored by tsoome on Jul 13 2026, 2:06 PM.
Tags
None
Referenced Files
F174964294: D58213.id181907.diff
Wed, Oct 7, 6:05 AM
F174953979: D58213.id181925.diff
Wed, Oct 7, 4:22 AM
Unknown Object (File)
Tue, Oct 6, 1:03 PM
Unknown Object (File)
Mon, Oct 5, 9:05 AM
Unknown Object (File)
Tue, Sep 29, 4:02 PM
Unknown Object (File)
Fri, Sep 25, 6:08 PM
Unknown Object (File)
Thu, Sep 24, 10:23 PM
Unknown Object (File)
Thu, Sep 24, 7:21 AM

Details

Reviewers
bnovkov
Group Reviewers
bhyve
Commits
rG575529a92d7b: bhyve: unsigned <= 0
Summary

illumos smatch build is complaining:

pci_nvme_parse_config() warn: 'sc->max_qentries' unsigned <= 0
pci_nvme_parse_config() warn: 'sc->ioslots' unsigned <= 0

Because we are using atoi() to translate string to int, we need
to use int type variable for translation.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74770
Build 71653: arc lint + arc unit