Page MenuHomeFreeBSD

stand/usb: Quiet warnings so this builds again
ClosedPublic

Authored by jhb on Jan 10 2025, 3:22 AM.
Tags
None
Referenced Files
F152959822: D48411.id149116.diff
Sat, Apr 18, 8:22 AM
F152959818: D48411.id149032.diff
Sat, Apr 18, 8:22 AM
F152948077: D48411.diff
Sat, Apr 18, 6:34 AM
Unknown Object (File)
Wed, Apr 15, 3:28 AM
Unknown Object (File)
Sun, Apr 12, 9:13 AM
Unknown Object (File)
Sat, Apr 11, 7:50 PM
Unknown Object (File)
Tue, Apr 7, 9:11 PM
Unknown Object (File)
Mon, Apr 6, 4:50 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.Jan 10 2025, 2:02 PM
This revision was automatically updated to reflect the committed changes.