linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [kbuild] [xlnx:xlnx_rebase_v5.4 172/1297] drivers/gpu/drm/i2c/adv7511.c:450:3: error: implicit declaration of function 'drm_helper_hpd_irq_event'
@ 2020-05-12 12:38 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-12 12:38 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: Michal Simek, Laurent Pinchart, kbuild-all, Hyun Kwon,
	linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 3940 bytes --]

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   22b71b41620dac13c69267d2b7898ebfb14c954e
commit: aa8c54df2f257c1857c71c8f8c38ba4ec6e78a5f [172/1297] drm: Add adv7511 encoder driver
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout aa8c54df2f257c1857c71c8f8c38ba4ec6e78a5f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=sparc64 

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

Note: the xlnx/xlnx_rebase_v5.4 HEAD 22b71b41620dac13c69267d2b7898ebfb14c954e builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/gpu/drm/i2c/adv7511.c: In function 'adv7511_irq_process':
>> drivers/gpu/drm/i2c/adv7511.c:450:3: error: implicit declaration of function 'drm_helper_hpd_irq_event' [-Werror=implicit-function-declaration]
450 |   drm_helper_hpd_irq_event(adv7511->encoder->dev);
|   ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

# https://github.com/Xilinx/linux-xlnx/commit/aa8c54df2f257c1857c71c8f8c38ba4ec6e78a5f
git remote add xlnx https://github.com/Xilinx/linux-xlnx
git remote update xlnx
git checkout aa8c54df2f257c1857c71c8f8c38ba4ec6e78a5f
vim +/drm_helper_hpd_irq_event +450 drivers/gpu/drm/i2c/adv7511.c

aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  432  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  433  static int adv7511_irq_process(struct adv7511 *adv7511)
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  434  {
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  435  	unsigned int irq0, irq1;
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  436  	int ret;
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  437  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  438  	ret = regmap_read(adv7511->regmap, ADV7511_REG_INT(0), &irq0);
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  439  	if (ret < 0)
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  440  		return ret;
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  441  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  442  	ret = regmap_read(adv7511->regmap, ADV7511_REG_INT(1), &irq1);
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  443  	if (ret < 0)
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  444  		return ret;
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  445  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  446  	regmap_write(adv7511->regmap, ADV7511_REG_INT(0), irq0);
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  447  	regmap_write(adv7511->regmap, ADV7511_REG_INT(1), irq1);
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  448  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  449  	if (irq0 & ADV7511_INT0_HPD && adv7511->encoder)
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05 @450  		drm_helper_hpd_irq_event(adv7511->encoder->dev);
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  451  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  452  	if (irq0 & ADV7511_INT0_EDID_READY || irq1 & ADV7511_INT1_DDC_ERROR) {
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  453  		adv7511->edid_read = true;
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  454  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  455  		if (adv7511->i2c_main->irq)
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  456  			wake_up_all(&adv7511->wq);
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  457  	}
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  458  
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  459  	return 0;
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  460  }
aa8c54df2f257c18 Lars-Peter Clausen 2012-03-05  461  

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 59575 bytes --]

[-- Attachment #3: Type: text/plain, Size: 149 bytes --]

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-leave@lists.01.org

[-- Attachment #4: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-12 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-12 12:38 [kbuild] [xlnx:xlnx_rebase_v5.4 172/1297] drivers/gpu/drm/i2c/adv7511.c:450:3: error: implicit declaration of function 'drm_helper_hpd_irq_event' kbuild test robot

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).