Page MenuHomeFreeBSD

Fix LINT build
ClosedPublic

Authored by lwhsu on Jan 25 2018, 5:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 3 2024, 2:43 PM
Unknown Object (File)
Oct 3 2024, 9:30 AM
Unknown Object (File)
Oct 3 2024, 5:19 AM
Unknown Object (File)
Oct 2 2024, 7:06 PM
Unknown Object (File)
Oct 2 2024, 1:00 PM
Unknown Object (File)
Sep 26 2024, 3:29 PM
Unknown Object (File)
Sep 12 2024, 5:15 AM
Unknown Object (File)
Sep 6 2024, 12:18 AM
Subscribers

Details

Summary

r328377 seems breaking LINT build:

https://ci.freebsd.org/job/FreeBSD-head-amd64-LINT/6419/console

00:02:45.818 --- rtl8366rb.o ---
00:02:45.818 /workspace/src/sys/dev/etherswitch/rtl8366/rtl8366rb.c:243:22: error: no member named 'sc_dev' in 'struct rtl8366rb_softc'
00:02:45.818                         device_printf(sc->sc_dev, "couldn't allocate ifnet structure\n");
00:02:45.818                                       ~~  ^
00:02:45.827 1 error generated.
00:02:45.830 *** [rtl8366rb.o] Error code 1
00:02:45.830
00:02:45.830 make[2]: stopped in /workspace/obj/workspace/src/amd64.amd64/sys/LINT

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable