devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: tomislav.denis@avl.com, jic23@kernel.org
Cc: kbuild-all@lists.01.org, linux-iio@vger.kernel.org,
	devicetree@vger.kernel.org, tomislav.denis@avl.com
Subject: Re: [PATCH 1/2] iio: adc: Add driver for Texas Instruments ADS131E0x ADC family
Date: Sun, 29 Nov 2020 07:58:43 +0800	[thread overview]
Message-ID: <202011290709.3xShxyPL-lkp@intel.com> (raw)
In-Reply-To: <20201127194240.15060-2-tomislav.denis@avl.com>

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

Hi,

I love your patch! Yet something to improve:

[auto build test ERROR on iio/togreg]
[also build test ERROR on linus/master v5.10-rc5 next-20201127]
[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]

url:    https://github.com/0day-ci/linux/commits/tomislav-denis-avl-com/iio-adc-Add-driver-for-Texas-Instruments-ADS131E0x-ADC-family/20201129-062610
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.3.0
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://github.com/0day-ci/linux/commit/9a70466cfd655dcd40e9b57ff7deb4a7bf2b0110
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review tomislav-denis-avl-com/iio-adc-Add-driver-for-Texas-Instruments-ADS131E0x-ADC-family/20201129-062610
        git checkout 9a70466cfd655dcd40e9b57ff7deb4a7bf2b0110
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh 

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

All errors (new ones prefixed by >>):

   In file included from drivers/iio/adc/ti-ads131e08.c:11:
>> drivers/iio/adc/ti-ads131e08.c:804:25: error: 'ads131e08_matches' undeclared here (not in a function); did you mean 'ads131e08_of_match'?
     804 | MODULE_DEVICE_TABLE(of, ads131e08_matches);
         |                         ^~~~~~~~~~~~~~~~~
   include/linux/module.h:240:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
     240 | extern typeof(name) __mod_##type##__##name##_device_table  \
         |               ^~~~
>> include/linux/module.h:240:21: error: '__mod_of__ads131e08_matches_device_table' aliased to undefined symbol 'ads131e08_matches'
     240 | extern typeof(name) __mod_##type##__##name##_device_table  \
         |                     ^~~~~~
   drivers/iio/adc/ti-ads131e08.c:804:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
     804 | MODULE_DEVICE_TABLE(of, ads131e08_matches);
         | ^~~~~~~~~~~~~~~~~~~

vim +804 drivers/iio/adc/ti-ads131e08.c

   798	
   799	static const struct of_device_id ads131e08_of_match[] = {
   800		{ .compatible = "ti,ads131e04", },
   801		{ .compatible = "ti,ads131e08", },
   802		{}
   803	};
 > 804	MODULE_DEVICE_TABLE(of, ads131e08_matches);
   805	

---
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: 52871 bytes --]

  parent reply	other threads:[~2020-11-28 23:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-27 19:42 [PATCH 0/2] Add support for ADS131E0x ADC family tomislav.denis
2020-11-27 19:42 ` [PATCH 1/2] iio: adc: Add driver for Texas Instruments " tomislav.denis
2020-11-28 13:02   ` Jonathan Cameron
2020-11-28 23:58   ` kernel test robot [this message]
2020-11-27 19:42 ` [PATCH 2/2] bindings: iio: adc: Add documentation for ADS131E0x ADC driver tomislav.denis
2020-11-28 12:34   ` Jonathan Cameron
2021-01-01 22:41     ` Denis, Tomislav AVL DiTEST
2021-01-02 14:15       ` Jonathan Cameron
2020-11-30 17:36   ` Rob Herring

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=202011290709.3xShxyPL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=tomislav.denis@avl.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;
as well as URLs for NNTP newsgroup(s).