Bug 207899 - i915kms kernel module build failed
Summary: i915kms kernel module build failed
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2016-03-11 10:03 UTC by Oleksandr Kryvulia
Modified: 2016-03-12 10:59 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Kryvulia 2016-03-11 10:03:24 UTC
Kernel build failed on CURRENT r296648. I think it's due to https://lists.freebsd.org/pipermail/svn-src-head/2016-March/083332.html

/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_debug.c:1628:8: error: implicit declaration of function 'intel_panel_get_backlight' is invalid in C99
        val = intel_panel_get_backlight(dev);
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_debug.c:1628:8: note: did you mean 'intel_panel_set_backlight'?
/usr/src/sys/dev/drm2/i915/intel_drv.h:511:13: note: 'intel_panel_set_backlight' declared here
extern void intel_panel_set_backlight(struct drm_device *dev, u32 level);
1 error generated.
*** Error code 1
Comment 1 Oleksandr Kryvulia 2016-03-12 10:59:49 UTC

rm -rf /usr/src/sys
svnlite update /usr/src