From: kernel test robot <lkp@intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [norov:bitmap-fast7 3/9] drivers/iio/adc/mxs-lradc-adc.c:834:40: error: unterminated argument list invoking macro "if"
Date: Sun, 28 Nov 2021 14:19:54 +0800 [thread overview]
Message-ID: <202111281416.oSk25KrN-lkp@intel.com> (raw)
tree: https://github.com/norov/linux bitmap-fast7
head: 21de62a46d4806527ba13c148c7d96a26f1a69e7
commit: 7a4a8dc6adcf9ce8680e675df2cccb20f964d4e3 [3/9] all: replace bitmap_weigth() with bitmap_{empty,full,eq,gt,le}
config: xtensa-randconfig-r004-20211128 (https://download.01.org/0day-ci/archive/20211128/202111281416.oSk25KrN-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.2.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/norov/linux/commit/7a4a8dc6adcf9ce8680e675df2cccb20f964d4e3
git remote add norov https://github.com/norov/linux
git fetch --no-tags norov bitmap-fast7
git checkout 7a4a8dc6adcf9ce8680e675df2cccb20f964d4e3
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash drivers/iio/adc/
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 >>):
drivers/iio/adc/mxs-lradc-adc.c: In function 'mxs_lradc_adc_validate_scan_mask':
>> drivers/iio/adc/mxs-lradc-adc.c:834:40: error: unterminated argument list invoking macro "if"
834 | MODULE_ALIAS("platform:mxs-lradc-adc");
| ^
>> drivers/iio/adc/mxs-lradc-adc.c:835: error: expected '(' at end of input
drivers/iio/adc/mxs-lradc-adc.c:563:9: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
563 | if (bitmap_weight_gt(mask, LRADC_MAX_TOTAL_CHANS, LRADC_MAX_MAPPED_CHAN - rsvd_chans)
| ^~
drivers/iio/adc/mxs-lradc-adc.c:563:9: note: adding '-flarge-source-files' will allow for more column-tracking support, at the expense of compilation time and memory
>> drivers/iio/adc/mxs-lradc-adc.c:563:9: error: expected declaration or statement at end of input
At top level:
drivers/iio/adc/mxs-lradc-adc.c:538:13: warning: 'mxs_lradc_adc_validate_scan_mask' defined but not used [-Wunused-function]
538 | static bool mxs_lradc_adc_validate_scan_mask(struct iio_dev *iio,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:521:12: warning: 'mxs_lradc_adc_buffer_postdisable' defined but not used [-Wunused-function]
521 | static int mxs_lradc_adc_buffer_postdisable(struct iio_dev *iio)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:483:12: warning: 'mxs_lradc_adc_buffer_preenable' defined but not used [-Wunused-function]
483 | static int mxs_lradc_adc_buffer_preenable(struct iio_dev *iio)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:476:13: warning: 'mxs_lradc_adc_trigger_remove' defined but not used [-Wunused-function]
476 | static void mxs_lradc_adc_trigger_remove(struct iio_dev *iio)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:452:12: warning: 'mxs_lradc_adc_trigger_init' defined but not used [-Wunused-function]
452 | static int mxs_lradc_adc_trigger_init(struct iio_dev *iio)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:413:20: warning: 'mxs_lradc_adc_trigger_handler' defined but not used [-Wunused-function]
413 | static irqreturn_t mxs_lradc_adc_trigger_handler(int irq, void *p)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:384:20: warning: 'mxs_lradc_adc_handle_irq' defined but not used [-Wunused-function]
384 | static irqreturn_t mxs_lradc_adc_handle_irq(int irq, void *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:376:30: warning: 'mxs_lradc_adc_iio_info' defined but not used [-Wunused-const-variable=]
376 | static const struct iio_info mxs_lradc_adc_iio_info = {
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:64:18: warning: 'mxs_lradc_adc_vref_mv' defined but not used [-Wunused-const-variable=]
64 | static const u32 mxs_lradc_adc_vref_mv[][LRADC_MAX_TOTAL_CHANS] = {
| ^~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:51:20: warning: 'mx28_lradc_adc_irq_names' defined but not used [-Wunused-variable]
51 | static const char *mx28_lradc_adc_irq_names[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/mxs-lradc-adc.c:42:20: warning: 'mx23_lradc_adc_irq_names' defined but not used [-Wunused-variable]
42 | static const char *mx23_lradc_adc_irq_names[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/if +834 drivers/iio/adc/mxs-lradc-adc.c
6dd112b9f85e5f Ksenija Stanojevic 2017-03-16 830
6dd112b9f85e5f Ksenija Stanojevic 2017-03-16 831 MODULE_AUTHOR("Marek Vasut <marex@denx.de>");
6dd112b9f85e5f Ksenija Stanojevic 2017-03-16 832 MODULE_DESCRIPTION("Freescale MXS LRADC driver general purpose ADC driver");
6dd112b9f85e5f Ksenija Stanojevic 2017-03-16 833 MODULE_LICENSE("GPL");
6dd112b9f85e5f Ksenija Stanojevic 2017-03-16 @834 MODULE_ALIAS("platform:mxs-lradc-adc");
:::::: The code at line 834 was first introduced by commit
:::::: 6dd112b9f85e5f24ac8c15d892690cb44a4b7936 iio: adc: mxs-lradc: Add support for ADC driver
:::::: TO: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
:::::: CC: Lee Jones <lee.jones@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2021-11-28 6:29 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=202111281416.oSk25KrN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yury.norov@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®