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 mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-11 10:03 UTC by Alexandr Krivulya
Modified: 2016-03-12 10:59 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Krivulya 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
      [-Werror,-Wimplicit-function-declaration]
        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 Alexandr Krivulya 2016-03-12 10:59:49 UTC
Fixed:

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