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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202108221001.vEGifGaF-lkp@intel.com>
Date:   Sun, 22 Aug 2021 10:59:11 +0800
From:   kernel test robot <lkp@...el.com>
To:     jing yangyang <cgel.zte@...il.com>,
        Tony Lindgren <tony@...mide.com>
Cc:     kbuild-all@...ts.01.org, Russell King <linux@...linux.org.uk>,
        linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
        jing yangyang <jing.yangyang@....com.cn>,
        Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH linux-next] arm: dma fix returnvar.cocci warnings

Hi jing,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on next-20210819]

url:    https://github.com/0day-ci/linux/commits/jing-yangyang/arm-dma-fix-returnvar-cocci-warnings/20210820-101604
base:    33e65b1f975cd2814fc0ea9617250fc4c1d7a553
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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/0day-ci/linux/commit/a5037ed7d3a617c82c996788afb1a703170eb192
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review jing-yangyang/arm-dma-fix-returnvar-cocci-warnings/20210820-101604
        git checkout a5037ed7d3a617c82c996788afb1a703170eb192
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

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 >>):

   In file included from arch/arm/mach-omap2/dma.c:30:
   arch/arm/mach-omap2/dma.c: In function 'configure_dma_errata':
>> include/linux/omap-dma.h:105:42: error: 'errata' undeclared (first use in this function)
     105 | #define SET_DMA_ERRATA(id)              (errata |= (id))
         |                                          ^~~~~~
   arch/arm/mach-omap2/dma.c:112:17: note: in expansion of macro 'SET_DMA_ERRATA'
     112 |                 SET_DMA_ERRATA(DMA_ERRATA_IFRAME_BUFFERING);
         |                 ^~~~~~~~~~~~~~
   include/linux/omap-dma.h:105:42: note: each undeclared identifier is reported only once for each function it appears in
     105 | #define SET_DMA_ERRATA(id)              (errata |= (id))
         |                                          ^~~~~~
   arch/arm/mach-omap2/dma.c:112:17: note: in expansion of macro 'SET_DMA_ERRATA'
     112 |                 SET_DMA_ERRATA(DMA_ERRATA_IFRAME_BUFFERING);
         |                 ^~~~~~~~~~~~~~


vim +/errata +105 include/linux/omap-dma.h

45c3eb7d3a07eb Tony Lindgren 2012-11-30  102  
45c3eb7d3a07eb Tony Lindgren 2012-11-30  103  /* Errata handling */
45c3eb7d3a07eb Tony Lindgren 2012-11-30  104  #define IS_DMA_ERRATA(id)		(errata & (id))
45c3eb7d3a07eb Tony Lindgren 2012-11-30 @105  #define SET_DMA_ERRATA(id)		(errata |= (id))
45c3eb7d3a07eb Tony Lindgren 2012-11-30  106  

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

Download attachment ".config.gz" of type "application/gzip" (54526 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ