Linux PCI subsystem development
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: WingMan Kwok <w-kwok2@ti.com>
Cc: kbuild-all@01.org, robh+dt@kernel.org, pawel.moll@arm.com,
	mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
	galak@codeaurora.org, kishon@ti.com, rogerq@ti.com,
	m-karicheri2@ti.com, bhelgaas@google.com, ssantosh@kernel.org,
	linux@arm.linux.org.uk, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	WingMan Kwok <w-kwok2@ti.com>
Subject: Re: [PATCH v2 1/2] phy: keystone: serdes driver for gbe 10gbe and pcie
Date: Tue, 20 Oct 2015 03:56:11 +0800	[thread overview]
Message-ID: <201510200310.ag8Bondy%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445281040-14742-2-git-send-email-w-kwok2@ti.com>

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

Hi WingMan,

[auto build test ERROR on pci/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/WingMan-Kwok/Common-SerDes-driver-for-TI-s-Keystone-Platforms/20151020-030259
config: i386-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   drivers/phy/phy-keystone-serdes.c: In function 'kserdes_xfw_mem_init':
>> drivers/phy/phy-keystone-serdes.c:197:31: error: 'SZ_64K' undeclared (first use in this function)
    #define KSERDES_XFW_MEM_SIZE  SZ_64K
                                  ^
>> drivers/phy/phy-keystone-serdes.c:203:3: note: in expansion of macro 'KSERDES_XFW_MEM_SIZE'
     (KSERDES_XFW_MEM_SIZE - KSERDES_XFW_CONFIG_MEM_SIZE)
      ^
>> drivers/phy/phy-keystone-serdes.c:1979:40: note: in expansion of macro 'KSERDES_XFW_CONFIG_START_ADDR'
     kserdes_writel(sc->regs, MEM_ADR_REG, KSERDES_XFW_CONFIG_START_ADDR);
                                           ^
   drivers/phy/phy-keystone-serdes.c:197:31: note: each undeclared identifier is reported only once for each function it appears in
    #define KSERDES_XFW_MEM_SIZE  SZ_64K
                                  ^
>> drivers/phy/phy-keystone-serdes.c:203:3: note: in expansion of macro 'KSERDES_XFW_MEM_SIZE'
     (KSERDES_XFW_MEM_SIZE - KSERDES_XFW_CONFIG_MEM_SIZE)
      ^
>> drivers/phy/phy-keystone-serdes.c:1979:40: note: in expansion of macro 'KSERDES_XFW_CONFIG_START_ADDR'
     kserdes_writel(sc->regs, MEM_ADR_REG, KSERDES_XFW_CONFIG_START_ADDR);
                                           ^
>> drivers/phy/phy-keystone-serdes.c:198:37: error: 'SZ_64' undeclared (first use in this function)
    #define KSERDES_XFW_CONFIG_MEM_SIZE SZ_64
                                        ^
>> drivers/phy/phy-keystone-serdes.c:203:26: note: in expansion of macro 'KSERDES_XFW_CONFIG_MEM_SIZE'
     (KSERDES_XFW_MEM_SIZE - KSERDES_XFW_CONFIG_MEM_SIZE)
                             ^
>> drivers/phy/phy-keystone-serdes.c:1979:40: note: in expansion of macro 'KSERDES_XFW_CONFIG_START_ADDR'
     kserdes_writel(sc->regs, MEM_ADR_REG, KSERDES_XFW_CONFIG_START_ADDR);
                                           ^

vim +/SZ_64K +197 drivers/phy/phy-keystone-serdes.c

   191	
   192	#define ANEG_1G_10G_OPT_MASK		GENMASK(7, 5)
   193	
   194	#define SERDES_REG_INDEX		0
   195	
   196	/* SERDES internal memory */
 > 197	#define KSERDES_XFW_MEM_SIZE		SZ_64K
 > 198	#define KSERDES_XFW_CONFIG_MEM_SIZE	SZ_64
   199	#define KSERDES_XFW_NUM_PARAMS		5
   200	
   201	/* Last 64B of the 64KB internal mem is for parameters */
   202	#define KSERDES_XFW_CONFIG_START_ADDR \
 > 203		(KSERDES_XFW_MEM_SIZE - KSERDES_XFW_CONFIG_MEM_SIZE)
   204	
   205	#define KSERDES_XFW_PARAM_START_ADDR \
   206		(KSERDES_XFW_MEM_SIZE - (KSERDES_XFW_NUM_PARAMS * 4))

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 51512 bytes --]

  reply	other threads:[~2015-10-19 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 18:57 [PATCH v2 0/2] Common SerDes driver for TI's Keystone Platforms WingMan Kwok
2015-10-19 18:57 ` [PATCH v2 1/2] phy: keystone: serdes driver for gbe 10gbe and pcie WingMan Kwok
2015-10-19 19:56   ` kbuild test robot [this message]
2015-10-19 20:46   ` [RFC PATCH] phy: keystone: ks2_gbe_serdes_firmwares[] can be static kbuild test robot
2015-10-19 18:57 ` [PATCH v2 2/2] PCI: keystone: update to use generic keystone serdes driver WingMan Kwok

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=201510200310.ag8Bondy%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=m-karicheri2@ti.com \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=rogerq@ti.com \
    --cc=ssantosh@kernel.org \
    --cc=w-kwok2@ti.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