public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: kbuild-all@01.org,
	Realtek linux nic maintainers <nic_swsd@realtek.com>,
	"David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Heiner Kallweit <hkallweit1@gmail.com>
Subject: Re: [PATCH v1] r8169: switch to device-managed functions in probe (part 2)
Date: Wed, 7 Feb 2018 06:03:15 +0800	[thread overview]
Message-ID: <201802070529.XBAeAtuG%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180204192949.10487-1-andriy.shevchenko@linux.intel.com>

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

Hi Andy,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]
[also build test ERROR on next-20180206]
[cannot apply to v4.15]
[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/Andy-Shevchenko/r8169-switch-to-device-managed-functions-in-probe-part-2/20180207-053113
config: x86_64-randconfig-x001-201805 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/net//ethernet/realtek/r8169.c: In function 'rtl_init_one':
>> drivers/net//ethernet/realtek/r8169.c:102:43: error: 'ioaddr' undeclared (first use in this function); did you mean 'in_addr'?
    #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg))
                                              ^
>> drivers/net//ethernet/realtek/r8169.c:8513:2: note: in expansion of macro 'RTL_W8'
     RTL_W8(Cfg9346, Cfg9346_Unlock);
     ^~~~~~
   drivers/net//ethernet/realtek/r8169.c:102:43: note: each undeclared identifier is reported only once for each function it appears in
    #define RTL_W8(reg, val8) writeb ((val8), ioaddr + (reg))
                                              ^
>> drivers/net//ethernet/realtek/r8169.c:8513:2: note: in expansion of macro 'RTL_W8'
     RTL_W8(Cfg9346, Cfg9346_Unlock);
     ^~~~~~

vim +102 drivers/net//ethernet/realtek/r8169.c

^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  100  
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  101  /* write/read MMIO register */
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16 @102  #define RTL_W8(reg, val8)	writeb ((val8), ioaddr + (reg))
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  103  #define RTL_W16(reg, val16)	writew ((val16), ioaddr + (reg))
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  104  #define RTL_W32(reg, val32)	writel ((val32), ioaddr + (reg))
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  105  #define RTL_R8(reg)		readb (ioaddr + (reg))
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  106  #define RTL_R16(reg)		readw (ioaddr + (reg))
06f555f3 drivers/net/r8169.c Junchang Wang  2010-05-30  107  #define RTL_R32(reg)		readl (ioaddr + (reg))
^1da177e drivers/net/r8169.c Linus Torvalds 2005-04-16  108  

:::::: The code at line 102 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 23758 bytes --]

  parent reply	other threads:[~2018-02-06 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-04 19:29 [PATCH v1] r8169: switch to device-managed functions in probe (part 2) Andy Shevchenko
2018-02-04 19:31 ` Andy Shevchenko
2018-02-06 22:03 ` kbuild test robot [this message]
2018-02-06 23:42 ` kbuild test robot

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=201802070529.XBAeAtuG%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=davem@davemloft.net \
    --cc=hkallweit1@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.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