All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Tue, 12 May 2020 20:38:07 +0800	[thread overview]
Message-ID: <20200512123806.GH22126@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4166 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(a)lists.01.org

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

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

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Michal Simek <monstr@monstr.eu>,
	Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	kbuild-all@lists.01.org, Hyun Kwon <hyun.kwon@xilinx.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [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'
Date: Tue, 12 May 2020 20:38:07 +0800	[thread overview]
Message-ID: <20200512123806.GH22126@intel.com> (raw)

[-- 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

             reply	other threads:[~2020-05-12 12:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 12:38 kbuild test robot [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200512123806.GH22126@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.