Page MenuHomeFreeBSD

bhyve: unsigned <= 0
ClosedPublic

Authored by tsoome on Jul 13 2026, 2:06 PM.
Tags
None
Referenced Files
F166926602: D58213.diff
Mon, Aug 17, 7:54 PM
Unknown Object (File)
Mon, Aug 10, 12:51 AM
Unknown Object (File)
Sun, Aug 9, 4:37 AM
Unknown Object (File)
Sat, Aug 8, 4:25 PM
Unknown Object (File)
Sat, Aug 8, 3:45 PM
Unknown Object (File)
Sat, Aug 8, 10:44 AM
Unknown Object (File)
Fri, Aug 7, 10:45 AM
Unknown Object (File)
Sat, Aug 1, 9:03 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 Not Applicable
Unit
Tests Not Applicable