tree: https://github.com/ammarfaizi2/linux-block robh/linux/dt-device_node-cleanup head: ab9ff49362f63052e64e6dbfa252893b08650c49 commit: ab9ff49362f63052e64e6dbfa252893b08650c49 [1/1] of: remove unused struct device_node.data ptr config: s390-allyesconfig compiler: s390-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/ammarfaizi2/linux-block/commit/ab9ff49362f63052e64e6dbfa252893b08650c49 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block robh/linux/dt-device_node-cleanup git checkout ab9ff49362f63052e64e6dbfa252893b08650c49 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): drivers/video/fbdev/omap2/omapfb/dss/dpi.c: In function 'dpi_init_output_port': >> drivers/video/fbdev/omap2/omapfb/dss/dpi.c:735:36: error: 'struct device_node' has no member named 'data' 735 | struct dpi_data *dpi = port->data; | ^~ drivers/video/fbdev/omap2/omapfb/dss/dpi.c: In function 'dpi_uninit_output_port': drivers/video/fbdev/omap2/omapfb/dss/dpi.c:770:36: error: 'struct device_node' has no member named 'data' 770 | struct dpi_data *dpi = port->data; | ^~ drivers/video/fbdev/omap2/omapfb/dss/dpi.c: In function 'dpi_init_port': drivers/video/fbdev/omap2/omapfb/dss/dpi.c:864:13: error: 'struct device_node' has no member named 'data' 864 | port->data = dpi; | ^~ drivers/video/fbdev/omap2/omapfb/dss/dpi.c: In function 'dpi_uninit_port': drivers/video/fbdev/omap2/omapfb/dss/dpi.c:882:36: error: 'struct device_node' has no member named 'data' 882 | struct dpi_data *dpi = port->data; | ^~ vim +735 drivers/video/fbdev/omap2/omapfb/dss/dpi.c f76ee892a99e68 Tomi Valkeinen 2015-12-09 731 f76ee892a99e68 Tomi Valkeinen 2015-12-09 732 static void dpi_init_output_port(struct platform_device *pdev, f76ee892a99e68 Tomi Valkeinen 2015-12-09 733 struct device_node *port) f76ee892a99e68 Tomi Valkeinen 2015-12-09 734 { f76ee892a99e68 Tomi Valkeinen 2015-12-09 @735 struct dpi_data *dpi = port->data; f76ee892a99e68 Tomi Valkeinen 2015-12-09 736 struct omap_dss_device *out = &dpi->output; f76ee892a99e68 Tomi Valkeinen 2015-12-09 737 int r; f76ee892a99e68 Tomi Valkeinen 2015-12-09 738 u32 port_num; f76ee892a99e68 Tomi Valkeinen 2015-12-09 739 f76ee892a99e68 Tomi Valkeinen 2015-12-09 740 r = of_property_read_u32(port, "reg", &port_num); f76ee892a99e68 Tomi Valkeinen 2015-12-09 741 if (r) f76ee892a99e68 Tomi Valkeinen 2015-12-09 742 port_num = 0; f76ee892a99e68 Tomi Valkeinen 2015-12-09 743 f76ee892a99e68 Tomi Valkeinen 2015-12-09 744 switch (port_num) { f76ee892a99e68 Tomi Valkeinen 2015-12-09 745 case 2: f76ee892a99e68 Tomi Valkeinen 2015-12-09 746 out->name = "dpi.2"; f76ee892a99e68 Tomi Valkeinen 2015-12-09 747 break; f76ee892a99e68 Tomi Valkeinen 2015-12-09 748 case 1: f76ee892a99e68 Tomi Valkeinen 2015-12-09 749 out->name = "dpi.1"; f76ee892a99e68 Tomi Valkeinen 2015-12-09 750 break; f76ee892a99e68 Tomi Valkeinen 2015-12-09 751 case 0: f76ee892a99e68 Tomi Valkeinen 2015-12-09 752 default: f76ee892a99e68 Tomi Valkeinen 2015-12-09 753 out->name = "dpi.0"; f76ee892a99e68 Tomi Valkeinen 2015-12-09 754 break; f76ee892a99e68 Tomi Valkeinen 2015-12-09 755 } f76ee892a99e68 Tomi Valkeinen 2015-12-09 756 f76ee892a99e68 Tomi Valkeinen 2015-12-09 757 out->dev = &pdev->dev; f76ee892a99e68 Tomi Valkeinen 2015-12-09 758 out->id = OMAP_DSS_OUTPUT_DPI; f76ee892a99e68 Tomi Valkeinen 2015-12-09 759 out->output_type = OMAP_DISPLAY_TYPE_DPI; f76ee892a99e68 Tomi Valkeinen 2015-12-09 760 out->dispc_channel = dpi_get_channel(port_num); f76ee892a99e68 Tomi Valkeinen 2015-12-09 761 out->port_num = port_num; f76ee892a99e68 Tomi Valkeinen 2015-12-09 762 out->ops.dpi = &dpi_ops; f76ee892a99e68 Tomi Valkeinen 2015-12-09 763 out->owner = THIS_MODULE; f76ee892a99e68 Tomi Valkeinen 2015-12-09 764 f76ee892a99e68 Tomi Valkeinen 2015-12-09 765 omapdss_register_output(out); f76ee892a99e68 Tomi Valkeinen 2015-12-09 766 } f76ee892a99e68 Tomi Valkeinen 2015-12-09 767 :::::: The code at line 735 was first introduced by commit :::::: f76ee892a99e68b55402b8d4b8aeffcae2aff34d omapfb: copy omapdss & displays for omapfb :::::: TO: Tomi Valkeinen :::::: CC: Tomi Valkeinen -- 0-DAY CI Kernel Test Service https://01.org/lkp