Page MenuHomeFreeBSD

Bhyve: SMBIOS bcdrev calculated from major/minor values
ClosedPublic

Authored by rgrimes on Apr 5 2020, 10:25 AM.
Tags
None
Referenced Files
F176165438: D24300.id70324.diff
Fri, Oct 16, 2:52 PM
F176165428: D24300.id70226.diff
Fri, Oct 16, 2:52 PM
F176165424: D24300.id.diff
Fri, Oct 16, 2:52 PM
F176165421: D24300.diff
Fri, Oct 16, 2:52 PM
Unknown Object (File)
Wed, Oct 7, 7:52 PM
Unknown Object (File)
Wed, Oct 7, 7:52 PM
Unknown Object (File)
Wed, Oct 7, 7:52 PM
Unknown Object (File)
Wed, Oct 7, 7:51 PM
Subscribers
None

Details

Reviewers
bcran
grehan
jhb
Group Reviewers
bhyve
Summary

In the past changes have been made to smbios->minor without updating the smbios->bcdrev value. Correct that by calculating bcdrev from the major/minor values.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Apr 5 2020, 5:51 PM
jhb added inline comments.
usr.sbin/bhyve/smbiostbl.c
771

If you want the comment, please style(9) it by adding a blank line before and a period. I think you could probably also get away with not needing the comment since the code is a few lines below and fairly obvious.

This revision now requires review to proceed.Apr 7 2020, 11:15 PM
This revision is now accepted and ready to land.Apr 8 2020, 3:24 AM

This was fixed in rS359719, so I think this review should be closed.