lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111281416.oSk25KrN-lkp@intel.com>
Date:   Sun, 28 Nov 2021 14:19:54 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yury Norov <yury.norov@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [norov:bitmap-fast7 3/9] drivers/iio/adc/mxs-lradc-adc.c:834:40:
 error: unterminated argument list invoking macro "if"

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@...el.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@...x.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@...il.com>
:::::: CC: Lee Jones <lee.jones@...aro.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ