Hi Dariusz, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.2-rc7] [cannot apply to next-20190702] [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/Dariusz-Marcinkiewicz/cec-convert-remaining-drivers-to-the-new-notifier-API/20190702-213026 config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=7.4.0 make.cross ARCH=ia64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): drivers/gpu//drm/bridge/synopsys/dw-hdmi.c: In function 'dw_hdmi_bridge_attach': >> drivers/gpu//drm/bridge/synopsys/dw-hdmi.c:2116:28: error: storage size of 'conn_info' isn't known struct cec_connector_info conn_info; ^~~~~~~~~ >> drivers/gpu//drm/bridge/synopsys/dw-hdmi.c:2129:2: error: implicit declaration of function 'cec_fill_conn_info_from_drm' [-Werror=implicit-function-declaration] cec_fill_conn_info_from_drm(&conn_info, connector); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu//drm/bridge/synopsys/dw-hdmi.c:2131:13: error: implicit declaration of function 'cec_notifier_conn_register'; did you mean 'cec_notifier_unregister'? [-Werror=implicit-function-declaration] notifier = cec_notifier_conn_register(hdmi->dev, NULL, &conn_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~ cec_notifier_unregister drivers/gpu//drm/bridge/synopsys/dw-hdmi.c:2116:28: warning: unused variable 'conn_info' [-Wunused-variable] struct cec_connector_info conn_info; ^~~~~~~~~ drivers/gpu//drm/bridge/synopsys/dw-hdmi.c: In function '__dw_hdmi_remove': >> drivers/gpu//drm/bridge/synopsys/dw-hdmi.c:2722:3: error: implicit declaration of function 'cec_notifier_conn_unregister'; did you mean 'cec_notifier_unregister'? [-Werror=implicit-function-declaration] cec_notifier_conn_unregister(hdmi->cec_notifier); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cec_notifier_unregister cc1: some warnings being treated as errors vim +2116 drivers/gpu//drm/bridge/synopsys/dw-hdmi.c 2110 2111 static int dw_hdmi_bridge_attach(struct drm_bridge *bridge) 2112 { 2113 struct dw_hdmi *hdmi = bridge->driver_private; 2114 struct drm_encoder *encoder = bridge->encoder; 2115 struct drm_connector *connector = &hdmi->connector; > 2116 struct cec_connector_info conn_info; 2117 struct cec_notifier *notifier; 2118 2119 connector->interlace_allowed = 1; 2120 connector->polled = DRM_CONNECTOR_POLL_HPD; 2121 2122 drm_connector_helper_add(connector, &dw_hdmi_connector_helper_funcs); 2123 2124 drm_connector_init(bridge->dev, connector, &dw_hdmi_connector_funcs, 2125 DRM_MODE_CONNECTOR_HDMIA); 2126 2127 drm_connector_attach_encoder(connector, encoder); 2128 > 2129 cec_fill_conn_info_from_drm(&conn_info, connector); 2130 > 2131 notifier = cec_notifier_conn_register(hdmi->dev, NULL, &conn_info); 2132 if (!notifier) 2133 return -ENOMEM; 2134 WRITE_ONCE(hdmi->cec_notifier, notifier); 2135 2136 return 0; 2137 } 2138 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip