Page MenuHomeFreeBSD

stand/usb: Quiet warnings so this builds again
ClosedPublic

Authored by jhb on Fri, Jan 10, 3:22 AM.
Tags
None
Referenced Files
F108311786: D48411.diff
Thu, Jan 23, 6:50 PM
Unknown Object (File)
Thu, Jan 16, 8:55 PM
Unknown Object (File)
Wed, Jan 15, 4:46 PM
Unknown Object (File)
Wed, Jan 15, 1:43 AM
Unknown Object (File)
Sun, Jan 12, 4:13 AM
Unknown Object (File)
Sun, Jan 12, 4:01 AM
Unknown Object (File)
Sat, Jan 11, 2:51 PM
Unknown Object (File)
Sat, Jan 11, 11:34 AM
Subscribers

Diff Detail

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

Event Timeline

I do not know how to actually test this but it builds again. I had to do a hack to build tools/sysinit and then symlink that into my path to get stand/usb to actually build. I can run the test program but it doesn't do anything (and I'm not sure how to get it to do anything).

stand/usb/Makefile
38

This is due to warnings about an unused struct sysctl_oid *parent in the cdce(4) driver since all the SYSCTL stuff is stubbed out.

stand/usb/test/Makefile
38

For some reason, just using -Wno-missing-prototypes and -Wno-unused-parameter did not work.

I have no real idea how to test this code either.

This revision is now accepted and ready to land.Fri, Jan 10, 2:02 PM
This revision was automatically updated to reflect the committed changes.