Bug 66814

Summary: [regression] build failure for CONFIG_DEBUG_FS=n due to error state support in sysfs
Product: DRI Reporter: Daniel Vetter <daniel>
Component: DRM/IntelAssignee: Mika Kuoppala <mika.kuoppala>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Daniel Vetter 2013-07-11 10:05:47 UTC
Date: Wed, 10 Jul 2013 05:29:23 +0800
From: kbuild test robot <fengguang.wu@intel.com>
To: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>, kbuild-all@01.org
Subject: [drm-intel:drm-intel-nightly 73/94] i915_sysfs.c:undefined reference to `i915_error_state_buf_init'
Message-ID: <51dc80b3.ZPlXmkbevjKXe6kX%fengguang.wu@intel.com>

[-- Attachment #1 [details] --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.8K --]

tree:   git://people.freedesktop.org/~danvet/drm-intel.git drm-intel-nightly
head:   b3c2854e3efd2837069da78c370cf59961771072
commit: ef86ddced720fddc3835558447a7f594d3609c73 [73/94] drm/i915: add error_state sysfs entry
config: x86_64-randconfig-x09-0710 (attached as .config)

All error/warnings:

   drivers/built-in.o: In function `error_state_read':
>> i915_sysfs.c:(.text+0x1e44fc): undefined reference to `i915_error_state_buf_init'
>> i915_sysfs.c:(.text+0x1e4513): undefined reference to `i915_error_state_get'
>> i915_sysfs.c:(.text+0x1e4522): undefined reference to `i915_error_state_to_str'
>> i915_sysfs.c:(.text+0x1e4548): undefined reference to `i915_error_state_put'
Comment 1 Daniel Vetter 2013-07-12 18:37:32 UTC
Fix merged:

commit 84734a049d0ef2f6f5fb0a1fe060cd51480dd855
Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Date:   Fri Jul 12 16:50:57 2013 +0300

    drm/i915: move error state to own compilation unit

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.