[Intel-gfx] [PATCH 1/2] drm/i915: Move intel_connector->unregister to connector->early_unregister
kbuild test robot
lkp at intel.com
Fri Jun 17 13:00:40 UTC 2016
Hi,
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.7-rc3 next-20160617]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-Move-intel_connector-unregister-to-connector-early_unregister/20160617-190035
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
>> drivers/gpu/drm/i915/intel_crt.c:746:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
>> drivers/gpu/drm/i915/intel_crt.c:746:22: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.early_unregister = intel_connector_unregister,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_crt.c:746:22: note: (near initialization for 'intel_crt_connector_funcs.set_property')
cc1: some warnings being treated as errors
--
>> drivers/gpu/drm/i915/intel_dp_mst.c:339:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
>> drivers/gpu/drm/i915/intel_dp_mst.c:339:22: warning: excess elements in struct initializer
.early_unregister = intel_connector_unregister,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_dp_mst.c:339:22: note: (near initialization for 'intel_dp_mst_connector_funcs')
--
>> drivers/gpu/drm/i915/intel_dp.c:4574:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_dp_connector_unregister,
^
>> drivers/gpu/drm/i915/intel_dp.c:4574:22: warning: excess elements in struct initializer
.early_unregister = intel_dp_connector_unregister,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_dp.c:4574:22: note: (near initialization for 'intel_dp_connector_funcs')
--
>> drivers/gpu/drm/i915/intel_dsi.c:1393:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
--
>> drivers/gpu/drm/i915/intel_dvo.c:344:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
--
>> drivers/gpu/drm/i915/intel_hdmi.c:1777:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
>> drivers/gpu/drm/i915/intel_hdmi.c:1777:22: warning: excess elements in struct initializer
.early_unregister = intel_connector_unregister,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_hdmi.c:1777:22: note: (near initialization for 'intel_hdmi_connector_funcs')
--
>> drivers/gpu/drm/i915/intel_lvds.c:558:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
>> drivers/gpu/drm/i915/intel_lvds.c:558:22: warning: excess elements in struct initializer
.early_unregister = intel_connector_unregister,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_lvds.c:558:22: note: (near initialization for 'intel_lvds_connector_funcs')
--
>> drivers/gpu/drm/i915/intel_sdvo.c:2196:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_sdvo_connector_unregister,
^
>> drivers/gpu/drm/i915/intel_sdvo.c:2196:22: warning: excess elements in struct initializer
.early_unregister = intel_sdvo_connector_unregister,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/intel_sdvo.c:2196:22: note: (near initialization for 'intel_sdvo_connector_funcs')
--
>> drivers/gpu/drm/i915/intel_tv.c:1504:2: error: unknown field 'early_unregister' specified in initializer
.early_unregister = intel_connector_unregister,
^
vim +/early_unregister +746 drivers/gpu/drm/i915/intel_crt.c
740
741 static const struct drm_connector_funcs intel_crt_connector_funcs = {
742 .reset = intel_crt_reset,
743 .dpms = drm_atomic_helper_connector_dpms,
744 .detect = intel_crt_detect,
745 .fill_modes = drm_helper_probe_single_connector_modes,
> 746 .early_unregister = intel_connector_unregister,
747 .destroy = intel_crt_destroy,
748 .set_property = intel_crt_set_property,
749 .atomic_destroy_state = drm_atomic_helper_connector_destroy_state,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 54751 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160617/5f69729a/attachment-0001.obj>
More information about the Intel-gfx
mailing list