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]
Date:   Sun, 18 Feb 2018 03:28:54 +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: x86_64-randconfig-s3-02180201 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/staging/rts5208/rtsx.h:180:0,
                    from drivers/staging/rts5208/rtsx.c:28:
>> drivers/staging/rts5208/rtsx_chip.h:343:0: warning: "SG_END" redefined
    #define SG_END   0x02
    
   In file included from include/linux/blkdev.h:28:0,
                    from drivers/staging/rts5208/rtsx.c:23:
   include/linux/scatterlist.h:69:0: note: this is the location of the previous definition
    #define SG_END  0x02UL
    

vim +/SG_END +343 drivers/staging/rts5208/rtsx_chip.h

fa590c22 Micky Ching 2013-11-12  340  
fa590c22 Micky Ching 2013-11-12  341  /* SG descriptor */
fa590c22 Micky Ching 2013-11-12  342  #define SG_INT			0x04
fa590c22 Micky Ching 2013-11-12 @343  #define SG_END			0x02
fa590c22 Micky Ching 2013-11-12  344  #define SG_VALID		0x01
fa590c22 Micky Ching 2013-11-12  345  

:::::: The code at line 343 was first introduced by commit
:::::: fa590c222fbaa428edb2ce2194638906cea1400a staging: rts5208: add support for rts5208 and rts5288

:::::: TO: Micky Ching <micky_ching@...lsil.com.cn>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.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" (29633 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ