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] [thread-next>] [day] [month] [year] [list]
Message-ID: <201802180202.BLuBbIi6%fengguang.wu@intel.com>
Date:   Sun, 18 Feb 2018 02:33:47 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Anshuman Khandual <khandual@...ux.vnet.ibm.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        gregkh@...uxfoundation.org, bart.vanassche@....com,
        jthumshirn@...e.de, axboe@...nel.dk, chris@...is-wilson.co.uk,
        tvrtko.ursulin@...el.com, khandual@...ux.vnet.ibm.com
Subject: Re: [PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for
 LSB encodings

Hi Anshuman,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.16-rc1 next-20180216]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Anshuman-Khandual/lib-scatterlist-Add-SG_CHAIN-and-SG_END-macros-for-LSB-encodings/20180218-015554
config: i386-randconfig-s0-201807 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from drivers/misc/cardreader/rtsx_pcr.c:32:0:
>> include/linux/rtsx_pci.h:40:0: warning: "SG_END" redefined
    #define   SG_END   0x02
    
   In file included from include/linux/dmapool.h:14:0,
                    from include/linux/pci.h:1316,
                    from drivers/misc/cardreader/rtsx_pcr.c:22:
   include/linux/scatterlist.h:69:0: note: this is the location of the previous definition
    #define SG_END  0x02UL
    

vim +/SG_END +40 include/linux/rtsx_pci.h

67d16a46 include/linux/mfd/rtsx_pci.h Wei WANG    2012-11-09  37  
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  38  #define RTSX_HDBAR			0x08
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  39  #define   SG_INT			0x04
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25 @40  #define   SG_END			0x02
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  41  #define   SG_VALID			0x01
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  42  #define   SG_NO_OP			0x00
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  43  #define   SG_TRANS_DATA			(0x02 << 4)
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  44  #define   SG_LINK_DESC			(0x03 << 4)
ada71f55 include/linux/mfd/rtsx_pci.h Micky Ching 2015-02-25  45  #define RTSX_HDBCTLR			0x0C
67d16a46 include/linux/mfd/rtsx_pci.h Wei WANG    2012-11-09  46  #define   SDMA_MODE			0x00
67d16a46 include/linux/mfd/rtsx_pci.h Wei WANG    2012-11-09  47  #define   ADMA_MODE			(0x02 << 26)
67d16a46 include/linux/mfd/rtsx_pci.h Wei WANG    2012-11-09  48  #define   STOP_DMA			(0x01 << 28)
67d16a46 include/linux/mfd/rtsx_pci.h Wei WANG    2012-11-09  49  #define   TRIG_DMA			(0x01 << 31)
67d16a46 include/linux/mfd/rtsx_pci.h Wei WANG    2012-11-09  50  

:::::: The code at line 40 was first introduced by commit
:::::: ada71f5588320e7a5c7166cb7c1c8c40cb866ac4 mfd: rtsx: Place register address and values togather

:::::: TO: Micky Ching <micky_ching@...lsil.com.cn>
:::::: CC: Lee Jones <lee.jones@...aro.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ