mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dmitry Baryshkov <lumag@kernel.org>,
	Amit Kucheria <amitk@kernel.org>,
	Thara Gopinath <thara.gopinath@gmail.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Daniel Lezcano <daniel.lezcano@linaro.org>,
	Zhang Rui <rui.zhang@intel.com>,
	Lukasz Luba <lukasz.luba@arm.com>,
	Jackie Liu <liuyun01@kylinos.cn>
Cc: oe-kbuild-all@lists.linux.dev, linux-arm-msm@vger.kernel.org,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] thermal: qcom: make LMH select QCOM_SCM
Date: Sun, 27 Jul 2025 00:28:31 +0800	[thread overview]
Message-ID: <202507270042.KdK0KKht-lkp@intel.com> (raw)
In-Reply-To: <20250725-lmh-scm-v1-1-84246981f435@oss.qualcomm.com>

Hi Dmitry,

kernel test robot noticed the following build warnings:

[auto build test WARNING on a933d3dc1968fcfb0ab72879ec304b1971ed1b9a]

url:    https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/thermal-qcom-make-LMH-select-QCOM_SCM/20250725-215843
base:   a933d3dc1968fcfb0ab72879ec304b1971ed1b9a
patch link:    https://lore.kernel.org/r/20250725-lmh-scm-v1-1-84246981f435%40oss.qualcomm.com
patch subject: [PATCH] thermal: qcom: make LMH select QCOM_SCM
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20250727/202507270042.KdK0KKht-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250727/202507270042.KdK0KKht-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202507270042.KdK0KKht-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/thermal/qcom/lmh.c: In function 'lmh_handle_irq':
   drivers/thermal/qcom/lmh.c:46:17: error: implicit declaration of function 'generic_handle_irq' [-Wimplicit-function-declaration]
      46 |                 generic_handle_irq(irq);
         |                 ^~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c: In function 'lmh_enable_interrupt':
   drivers/thermal/qcom/lmh.c:53:40: error: implicit declaration of function 'irq_data_get_irq_chip_data'; did you mean 'irq_domain_get_irq_data'? [-Wimplicit-function-declaration]
      53 |         struct lmh_hw_data *lmh_data = irq_data_get_irq_chip_data(d);
         |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |                                        irq_domain_get_irq_data
   drivers/thermal/qcom/lmh.c:53:40: error: initialization of 'struct lmh_hw_data *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   drivers/thermal/qcom/lmh.c:56:9: error: implicit declaration of function 'writel' [-Wimplicit-function-declaration]
      56 |         writel(0xff, lmh_data->base + LMH_REG_DCVS_INTR_CLR);
         |         ^~~~~~
   drivers/thermal/qcom/lmh.c: In function 'lmh_disable_interrupt':
   drivers/thermal/qcom/lmh.c:62:40: error: initialization of 'struct lmh_hw_data *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
      62 |         struct lmh_hw_data *lmh_data = irq_data_get_irq_chip_data(d);
         |                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c: At top level:
   drivers/thermal/qcom/lmh.c:67:15: error: variable 'lmh_irq_chip' has initializer but incomplete type
      67 | static struct irq_chip lmh_irq_chip = {
         |               ^~~~~~~~
   drivers/thermal/qcom/lmh.c:68:10: error: 'struct irq_chip' has no member named 'name'
      68 |         .name           = "lmh",
         |          ^~~~
>> drivers/thermal/qcom/lmh.c:68:27: warning: excess elements in struct initializer
      68 |         .name           = "lmh",
         |                           ^~~~~
   drivers/thermal/qcom/lmh.c:68:27: note: (near initialization for 'lmh_irq_chip')
   drivers/thermal/qcom/lmh.c:69:10: error: 'struct irq_chip' has no member named 'irq_enable'
      69 |         .irq_enable     = lmh_enable_interrupt,
         |          ^~~~~~~~~~
   drivers/thermal/qcom/lmh.c:69:27: warning: excess elements in struct initializer
      69 |         .irq_enable     = lmh_enable_interrupt,
         |                           ^~~~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:69:27: note: (near initialization for 'lmh_irq_chip')
   drivers/thermal/qcom/lmh.c:70:10: error: 'struct irq_chip' has no member named 'irq_disable'
      70 |         .irq_disable    = lmh_disable_interrupt
         |          ^~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:70:27: warning: excess elements in struct initializer
      70 |         .irq_disable    = lmh_disable_interrupt
         |                           ^~~~~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:70:27: note: (near initialization for 'lmh_irq_chip')
   drivers/thermal/qcom/lmh.c: In function 'lmh_irq_map':
   drivers/thermal/qcom/lmh.c:83:9: error: implicit declaration of function 'irq_set_lockdep_class' [-Wimplicit-function-declaration]
      83 |         irq_set_lockdep_class(irq, &lmh_lock_key, &lmh_request_key);
         |         ^~~~~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:84:9: error: implicit declaration of function 'irq_set_chip_and_handler' [-Wimplicit-function-declaration]
      84 |         irq_set_chip_and_handler(irq, &lmh_irq_chip, handle_simple_irq);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:84:54: error: 'handle_simple_irq' undeclared (first use in this function)
      84 |         irq_set_chip_and_handler(irq, &lmh_irq_chip, handle_simple_irq);
         |                                                      ^~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:84:54: note: each undeclared identifier is reported only once for each function it appears in
   drivers/thermal/qcom/lmh.c:85:9: error: implicit declaration of function 'irq_set_chip_data'; did you mean 'irq_set_irqchip_state'? [-Wimplicit-function-declaration]
      85 |         irq_set_chip_data(irq, lmh_data);
         |         ^~~~~~~~~~~~~~~~~
         |         irq_set_irqchip_state
   drivers/thermal/qcom/lmh.c: In function 'lmh_probe':
   drivers/thermal/qcom/lmh.c:219:9: error: implicit declaration of function 'irq_set_status_flags' [-Wimplicit-function-declaration]
     219 |         irq_set_status_flags(lmh_data->irq, IRQ_NOAUTOEN);
         |         ^~~~~~~~~~~~~~~~~~~~
   drivers/thermal/qcom/lmh.c:219:45: error: 'IRQ_NOAUTOEN' undeclared (first use in this function); did you mean 'IRQF_NO_AUTOEN'?
     219 |         irq_set_status_flags(lmh_data->irq, IRQ_NOAUTOEN);
         |                                             ^~~~~~~~~~~~
         |                                             IRQF_NO_AUTOEN
   drivers/thermal/qcom/lmh.c: At top level:
   drivers/thermal/qcom/lmh.c:67:24: error: storage size of 'lmh_irq_chip' isn't known
      67 | static struct irq_chip lmh_irq_chip = {
         |                        ^~~~~~~~~~~~


vim +68 drivers/thermal/qcom/lmh.c

53bca371cdf7ad Thara Gopinath 2021-08-09  66  
53bca371cdf7ad Thara Gopinath 2021-08-09 @67  static struct irq_chip lmh_irq_chip = {
53bca371cdf7ad Thara Gopinath 2021-08-09 @68  	.name           = "lmh",
53bca371cdf7ad Thara Gopinath 2021-08-09  69  	.irq_enable	= lmh_enable_interrupt,
53bca371cdf7ad Thara Gopinath 2021-08-09  70  	.irq_disable	= lmh_disable_interrupt
53bca371cdf7ad Thara Gopinath 2021-08-09  71  };
53bca371cdf7ad Thara Gopinath 2021-08-09  72  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      parent reply	other threads:[~2025-07-26 16:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-25 13:55 Dmitry Baryshkov
2025-07-26 16:28 ` kernel test robot
2025-07-26 16:28 ` kernel test robot [this message]

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=202507270042.KdK0KKht-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=amitk@kernel.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=liuyun01@kylinos.cn \
    --cc=lukasz.luba@arm.com \
    --cc=lumag@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rafael@kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=thara.gopinath@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®