Bug 207106

Summary: [patch] [regression] several kernel modules fail to compile outside of kernel build environment
Product: Base System Reporter: Eugene Grosbein <ports>
Component: kernAssignee: Eugene Grosbein <eugen>
Status: Closed FIXED    
Severity: Affects Only Me CC: eugen, markj
Priority: --- Keywords: patch, regression
Version: 10.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
process opt_kdtrace.h correctly none

Description Eugene Grosbein 2016-02-11 13:00:01 UTC
Created attachment 166866 [details]
process opt_kdtrace.h correctly

Some kernel modules (sys/modules/cam, sys/modules/hyperv/netvsc and sys/modules/linux_common) do not build using 10.3-BETA1 sources complaining on missing files like opt_kdtrace.h, opt_inet.h, opt_inet6.h. A patch is attached.
Comment 1 Mark Johnston freebsd_committer freebsd_triage 2016-02-11 18:32:32 UTC
opt_kdtrace.h isn't needed at all in these places. I tried to remove references
to it with r291153, but some have crept back in.

The opt_inet bits seem reasonable to me.
Comment 2 Eugene Grosbein freebsd_committer freebsd_triage 2017-09-19 17:27:07 UTC
Already fixed and MFC'd.