Hi Rodrigo, [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on v4.11-rc5] [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/Rodrigo-Vivi/drm-i915-cnp-add-CNP-gmbus-support/20170408-020453 base: git://anongit.freedesktop.org/drm-intel for-linux-next config: i386-randconfig-x012-201714 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/mod_devicetable.h:11, from include/linux/i2c.h:29, from drivers/gpu/drm/i915/intel_hdmi.c:29: drivers/gpu/drm/i915/intel_hdmi.c: In function 'intel_hdmi_ddc_pin': >> drivers/gpu/drm/i915/intel_hdmi.c:1895:31: error: implicit declaration of function 'HAS_PCH_CNP' [-Werror=implicit-function-declaration] if (IS_GEN9_LP(dev_priv) || HAS_PCH_CNP(dev_priv)) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> drivers/gpu/drm/i915/intel_hdmi.c:1895:3: note: in expansion of macro 'if' if (IS_GEN9_LP(dev_priv) || HAS_PCH_CNP(dev_priv)) ^~ cc1: some warnings being treated as errors -- In file included from include/uapi/linux/stddef.h:1:0, from include/linux/stddef.h:4, from include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/mod_devicetable.h:11, from include/linux/i2c.h:29, from drivers/gpu/drm/i915/intel_i2c.c:29: drivers/gpu/drm/i915/intel_i2c.c: In function 'get_gmbus_pin': >> drivers/gpu/drm/i915/intel_i2c.c:82:6: error: implicit declaration of function 'HAS_PCH_CNP' [-Werror=implicit-function-declaration] if (HAS_PCH_CNP(dev_priv)) ^ include/linux/compiler.h:160:30: note: in definition of macro '__trace_if' if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ ^~~~ >> drivers/gpu/drm/i915/intel_i2c.c:82:2: note: in expansion of macro 'if' if (HAS_PCH_CNP(dev_priv)) ^~ cc1: some warnings being treated as errors vim +/HAS_PCH_CNP +1895 drivers/gpu/drm/i915/intel_hdmi.c 1889 info->alternate_ddc_pin, port_name(port)); 1890 return info->alternate_ddc_pin; 1891 } 1892 1893 switch (port) { 1894 case PORT_B: > 1895 if (IS_GEN9_LP(dev_priv) || HAS_PCH_CNP(dev_priv)) 1896 ddc_pin = GMBUS_PIN_1_BXT; 1897 else 1898 ddc_pin = GMBUS_PIN_DPB; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation