All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rob Herring <robh@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2] watchdog: Explicitly include correct DT includes
Date: Tue, 25 Jul 2023 09:06:10 +0800	[thread overview]
Message-ID: <202307250826.SP0DQLaA-lkp@intel.com> (raw)
In-Reply-To: <20230724205503.767612-1-robh@kernel.org>

Hi Rob,

kernel test robot noticed the following build warnings:

[auto build test WARNING on krzk/for-next]
[also build test WARNING on groeck-staging/hwmon-next linus/master v6.5-rc3 next-20230724]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Rob-Herring/watchdog-Explicitly-include-correct-DT-includes/20230725-045823
base:   https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git for-next
patch link:    https://lore.kernel.org/r/20230724205503.767612-1-robh%40kernel.org
patch subject: [PATCH v2] watchdog: Explicitly include correct DT includes
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20230725/202307250826.SP0DQLaA-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230725/202307250826.SP0DQLaA-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/202307250826.SP0DQLaA-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/watchdog/pic32-wdt.c:220:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration]
     220 |                 .of_match_table = of_match_ptr(pic32_wdt_dt_ids),
         |                                   ^~~~~~~~~~~~
>> drivers/watchdog/pic32-wdt.c:220:35: warning: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   drivers/watchdog/pic32-wdt.c:220:35: note: (near initialization for 'pic32_wdt_driver.driver.of_match_table')
   drivers/watchdog/pic32-wdt.c:220:35: error: initializer element is not constant
   drivers/watchdog/pic32-wdt.c:220:35: note: (near initialization for 'pic32_wdt_driver.driver.of_match_table')
   cc1: some warnings being treated as errors
--
   drivers/watchdog/pic32-dmt.c:218:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration]
     218 |                 .of_match_table = of_match_ptr(pic32_dmt_of_ids),
         |                                   ^~~~~~~~~~~~
>> drivers/watchdog/pic32-dmt.c:218:35: warning: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
   drivers/watchdog/pic32-dmt.c:218:35: note: (near initialization for 'pic32_dmt_driver.driver.of_match_table')
   drivers/watchdog/pic32-dmt.c:218:35: error: initializer element is not constant
   drivers/watchdog/pic32-dmt.c:218:35: note: (near initialization for 'pic32_dmt_driver.driver.of_match_table')
   cc1: some warnings being treated as errors


vim +220 drivers/watchdog/pic32-wdt.c

8f91fc56bc439a Joshua Henderson 2016-02-26  215  
8f91fc56bc439a Joshua Henderson 2016-02-26  216  static struct platform_driver pic32_wdt_driver = {
8f91fc56bc439a Joshua Henderson 2016-02-26  217  	.probe		= pic32_wdt_drv_probe,
8f91fc56bc439a Joshua Henderson 2016-02-26  218  	.driver		= {
8f91fc56bc439a Joshua Henderson 2016-02-26  219  		.name		= "pic32-wdt",
8f91fc56bc439a Joshua Henderson 2016-02-26 @220  		.of_match_table = of_match_ptr(pic32_wdt_dt_ids),
8f91fc56bc439a Joshua Henderson 2016-02-26  221  	}
8f91fc56bc439a Joshua Henderson 2016-02-26  222  };
8f91fc56bc439a Joshua Henderson 2016-02-26  223  

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

  reply	other threads:[~2023-07-25  1:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24 20:55 [PATCH v2] watchdog: Explicitly include correct DT includes Rob Herring
2023-07-24 20:55 ` Rob Herring
2023-07-25  1:06 ` kernel test robot [this message]
2023-07-25  3:22 ` kernel 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=202307250826.SP0DQLaA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.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.