linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [deller-fbdev:for-next 51/51] drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: error: 'component_compare_dev' undeclared; did you mean 'component_master_del'?
@ 2022-02-15 23:49 kernel test robot
  2022-02-16  7:15 ` Helge Deller
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2022-02-15 23:49 UTC (permalink / raw)
  To: Yong Wu; +Cc: kbuild-all, linux-kernel, Helge Deller

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git for-next
head:   61038027aa13351c63b452a0d48c805bab1d2ce9
commit: 61038027aa13351c63b452a0d48c805bab1d2ce9 [51/51] video: fbdev: omapfb: Make use of the helper component_compare_dev
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220216/202202160743.MUYvzd9B-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?id=61038027aa13351c63b452a0d48c805bab1d2ce9
        git remote add deller-fbdev git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git
        git fetch --no-tags deller-fbdev for-next
        git checkout 61038027aa13351c63b452a0d48c805bab1d2ce9
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/video/fbdev/omap2/omapfb/dss/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/video/fbdev/omap2/omapfb/dss/dss.c: In function 'dss_add_child_component':
>> drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: error: 'component_compare_dev' undeclared (first use in this function); did you mean 'component_master_del'?
    1209 |         component_match_add(dev->parent, match, component_compare_dev, dev);
         |                                                 ^~~~~~~~~~~~~~~~~~~~~
         |                                                 component_master_del
   drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: note: each undeclared identifier is reported only once for each function it appears in


vim +1209 drivers/video/fbdev/omap2/omapfb/dss/dss.c

  1195	
  1196	static int dss_add_child_component(struct device *dev, void *data)
  1197	{
  1198		struct component_match **match = data;
  1199	
  1200		/*
  1201		 * HACK
  1202		 * We don't have a working driver for rfbi, so skip it here always.
  1203		 * Otherwise dss will never get probed successfully, as it will wait
  1204		 * for rfbi to get probed.
  1205		 */
  1206		if (strstr(dev_name(dev), "rfbi"))
  1207			return 0;
  1208	
> 1209		component_match_add(dev->parent, match, component_compare_dev, dev);
  1210	
  1211		return 0;
  1212	}
  1213	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [deller-fbdev:for-next 51/51] drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: error: 'component_compare_dev' undeclared; did you mean 'component_master_del'?
  2022-02-15 23:49 [deller-fbdev:for-next 51/51] drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: error: 'component_compare_dev' undeclared; did you mean 'component_master_del'? kernel test robot
@ 2022-02-16  7:15 ` Helge Deller
  0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2022-02-16  7:15 UTC (permalink / raw)
  To: kernel test robot, Yong Wu; +Cc: kbuild-all, linux-kernel

On 2/16/22 00:49, kernel test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git for-next
> head:   61038027aa13351c63b452a0d48c805bab1d2ce9
> commit: 61038027aa13351c63b452a0d48c805bab1d2ce9 [51/51] video: fbdev: omapfb: Make use of the helper component_compare_dev
> config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220216/202202160743.MUYvzd9B-lkp@intel.com/config)
> compiler: sh4-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git/commit/?id=61038027aa13351c63b452a0d48c805bab1d2ce9
>         git remote add deller-fbdev git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git
>         git fetch --no-tags deller-fbdev for-next
>         git checkout 61038027aa13351c63b452a0d48c805bab1d2ce9
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/video/fbdev/omap2/omapfb/dss/
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>    drivers/video/fbdev/omap2/omapfb/dss/dss.c: In function 'dss_add_child_component':
>>> drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: error: 'component_compare_dev' undeclared (first use in this function); did you mean 'component_master_del'?
>     1209 |         component_match_add(dev->parent, match, component_compare_dev, dev);
>          |                                                 ^~~~~~~~~~~~~~~~~~~~~
>          |                                                 component_master_del
>    drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: note: each undeclared identifier is reported only once for each function it appears in

Fixed now. I've dropped that patch.

Helge

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-16  7:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 23:49 [deller-fbdev:for-next 51/51] drivers/video/fbdev/omap2/omapfb/dss/dss.c:1209:49: error: 'component_compare_dev' undeclared; did you mean 'component_master_del'? kernel test robot
2022-02-16  7:15 ` Helge Deller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).