Page MenuHomeFreeBSD

Fix LINT build
ClosedPublic

Authored by lwhsu on Jan 25 2018, 5:29 AM.
Tags
None
Referenced Files
F81613914: D14044.diff
Thu, Apr 18, 11:50 PM
Unknown Object (File)
Feb 7 2024, 1:13 PM
Unknown Object (File)
Dec 20 2023, 6:41 AM
Unknown Object (File)
Dec 2 2023, 12:54 PM
Unknown Object (File)
Oct 25 2023, 2:15 AM
Unknown Object (File)
Sep 3 2023, 7:11 AM
Unknown Object (File)
Aug 23 2023, 12:59 AM
Unknown Object (File)
Aug 23 2023, 12:49 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