public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Nuno Sá" <nuno.sa@analog.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>
Subject: [jic23-iio:testing 199/204] drivers/iio/adc/intel_mrfld_adc.c:222:58: error: array has incomplete element type 'const struct platform_device_id'
Date: Sun, 12 Jun 2022 20:48:51 +0800	[thread overview]
Message-ID: <202206122000.ehsJVvx5-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git testing
head:   20b4fa69eeaa2b6389ff83662a96c8f0f1f414ab
commit: 8e3460e351d063ba81c3f50ed946dd825848d892 [199/204] iio: core: drop of.h from iio.h
config: x86_64-randconfig-a012 (https://download.01.org/0day-ci/archive/20220612/202206122000.ehsJVvx5-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 6466c9abf3674bade1f6ee859f24ebc7aaf9cd88)
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/jic23/iio.git/commit/?id=8e3460e351d063ba81c3f50ed946dd825848d892
        git remote add jic23-iio https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
        git fetch --no-tags jic23-iio testing
        git checkout 8e3460e351d063ba81c3f50ed946dd825848d892
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/iio/adc/

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

All errors (new ones prefixed by >>):

>> drivers/iio/adc/intel_mrfld_adc.c:222:58: error: array has incomplete element type 'const struct platform_device_id'
   static const struct platform_device_id mrfld_adc_id_table[] = {
                                                            ^
   include/linux/platform_device.h:21:8: note: forward declaration of 'struct platform_device_id'
   struct platform_device_id;
          ^
   1 error generated.


vim +222 drivers/iio/adc/intel_mrfld_adc.c

a7118662734a3f Vincent Pelletier 2019-03-26  221  
a7118662734a3f Vincent Pelletier 2019-03-26 @222  static const struct platform_device_id mrfld_adc_id_table[] = {
a7118662734a3f Vincent Pelletier 2019-03-26  223  	{ .name = "mrfld_bcove_adc" },
a7118662734a3f Vincent Pelletier 2019-03-26  224  	{}
a7118662734a3f Vincent Pelletier 2019-03-26  225  };
a7118662734a3f Vincent Pelletier 2019-03-26  226  MODULE_DEVICE_TABLE(platform, mrfld_adc_id_table);
a7118662734a3f Vincent Pelletier 2019-03-26  227  

:::::: The code at line 222 was first introduced by commit
:::::: a7118662734a3f97622d8274708cb61fd53d693a iio: adc: intel_mrfld_adc: Add Basin Cove ADC driver

:::::: TO: Vincent Pelletier <plr.vincent@gmail.com>
:::::: CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-06-12 12:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202206122000.ehsJVvx5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=nuno.sa@analog.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