mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	gregkh@linuxfoundation.org, bart.vanassche@wdc.com,
	jthumshirn@suse.de, axboe@kernel.dk, chris@chris-wilson.co.uk,
	tvrtko.ursulin@intel.com, khandual@linux.vnet.ibm.com
Subject: Re: [PATCH V2] lib/scatterlist: Add SG_CHAIN and SG_END macros for LSB encodings
Date: Sun, 18 Feb 2018 02:33:47 +0800	[thread overview]
Message-ID: <201802180202.BLuBbIi6%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180215033356.6978-1-khandual@linux.vnet.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 2852 bytes --]

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@realsil.com.cn>
:::::: CC: Lee Jones <lee.jones@linaro.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 37284 bytes --]

  parent reply	other threads:[~2018-02-17 18:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15  3:33 Anshuman Khandual
2018-02-15  4:28 ` Jens Axboe
2018-02-15  7:36 ` Chris Wilson
2018-02-17 18:33 ` kbuild test robot [this message]
2018-02-17 19:28 ` kbuild test robot
2018-02-19  4:12   ` Anshuman Khandual
2018-02-19  8:08     ` Johannes Thumshirn
2018-02-19 10:10     ` Tvrtko Ursulin
2018-02-19 12:25       ` Andy Shevchenko

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=201802180202.BLuBbIi6%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=axboe@kernel.dk \
    --cc=bart.vanassche@wdc.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=gregkh@linuxfoundation.org \
    --cc=jthumshirn@suse.de \
    --cc=kbuild-all@01.org \
    --cc=khandual@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tvrtko.ursulin@intel.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®