mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Al Cooper <al.cooper@broadcom.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Al Cooper <alcooperx@gmail.com>, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	bcm-kernel-feedback-list@broadcom.com,
	Kishon Vijay Abraham I <kishon@ti.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver
Date: Wed, 14 Jun 2017 09:57:04 +0800	[thread overview]
Message-ID: <201706140920.gV3HAiz4%fengguang.wu@intel.com> (raw)
In-Reply-To: <1497365721-31188-4-git-send-email-al.cooper@broadcom.com>

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

Hi Al,

[auto build test ERROR on phy/next]
[also build test ERROR on next-20170613]
[cannot apply to linus/master v4.12-rc5]
[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/Al-Cooper/Add-Broadcom-STB-USB-phy-driver/20170614-070044
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy.git next
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

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

   drivers/phy//broadcom/phy-brcm-usb-init.c: In function 'brcmusb_usb_phy_ldo_fix':
>> drivers/phy//broadcom/phy-brcm-usb-init.c:139:49: error: 'USB_CTRL_0xFFC00000' undeclared (first use in this function)
    #define USB_CTRL_REG(base, reg) ((void *)base + USB_CTRL_##reg)
                                                    ^
>> drivers/phy//broadcom/phy-brcm-usb-init.c:157:31: note: in expansion of macro 'USB_CTRL_REG'
     brcmusb_writel(brcmusb_readl(USB_CTRL_REG(base, reg)) &  \
                                  ^~~~~~~~~~~~
>> drivers/phy//broadcom/phy-brcm-usb-init.c:569:2: note: in expansion of macro 'USB_CTRL_UNSET'
     USB_CTRL_UNSET(ctrl_base, PLL_CTL, PLL_RESETB);
     ^~~~~~~~~~~~~~
   drivers/phy//broadcom/phy-brcm-usb-init.c:139:49: note: each undeclared identifier is reported only once for each function it appears in
    #define USB_CTRL_REG(base, reg) ((void *)base + USB_CTRL_##reg)
                                                    ^
>> drivers/phy//broadcom/phy-brcm-usb-init.c:157:31: note: in expansion of macro 'USB_CTRL_REG'
     brcmusb_writel(brcmusb_readl(USB_CTRL_REG(base, reg)) &  \
                                  ^~~~~~~~~~~~
>> drivers/phy//broadcom/phy-brcm-usb-init.c:569:2: note: in expansion of macro 'USB_CTRL_UNSET'
     USB_CTRL_UNSET(ctrl_base, PLL_CTL, PLL_RESETB);
     ^~~~~~~~~~~~~~
   drivers/phy//broadcom/phy-brcm-usb-init.c: In function 'brcmusb_init_common':
>> drivers/phy//broadcom/phy-brcm-usb-init.c:139:49: error: 'USB_CTRL_0xFFC00000' undeclared (first use in this function)
    #define USB_CTRL_REG(base, reg) ((void *)base + USB_CTRL_##reg)
                                                    ^
   drivers/phy//broadcom/phy-brcm-usb-init.c:154:31: note: in expansion of macro 'USB_CTRL_REG'
     brcmusb_writel(brcmusb_readl(USB_CTRL_REG(base, reg)) |  \
                                  ^~~~~~~~~~~~
>> drivers/phy//broadcom/phy-brcm-usb-init.c:962:2: note: in expansion of macro 'USB_CTRL_SET'
     USB_CTRL_SET(ctrl, PLL_CTL, PLL_SUSPEND_EN);
     ^~~~~~~~~~~~
   drivers/phy//broadcom/phy-brcm-usb-init.c: In function 'brcmusb_init_common_mips':
>> drivers/phy//broadcom/phy-brcm-usb-init.c:139:49: error: 'USB_CTRL_0xFFC00000' undeclared (first use in this function)
    #define USB_CTRL_REG(base, reg) ((void *)base + USB_CTRL_##reg)
                                                    ^
   drivers/phy//broadcom/phy-brcm-usb-init.c:154:31: note: in expansion of macro 'USB_CTRL_REG'
     brcmusb_writel(brcmusb_readl(USB_CTRL_REG(base, reg)) |  \
                                  ^~~~~~~~~~~~
   drivers/phy//broadcom/phy-brcm-usb-init.c:1097:2: note: in expansion of macro 'USB_CTRL_SET'
     USB_CTRL_SET(ctrl, PLL_CTL, PLL_SUSPEND_EN);
     ^~~~~~~~~~~~

vim +/USB_CTRL_REG +157 drivers/phy//broadcom/phy-brcm-usb-init.c

   133		USB_CTRL_SETUP_STRAP_CC_DRD_MODE_ENABLE_SEL_SELECTOR,
   134		USB_CTRL_USB_PM_USB20_HC_RESETB_SELECTOR,
   135		USB_CTRL_SETUP_ENDIAN_SELECTOR,
   136		USB_CTRL_SELECTOR_COUNT,
   137	};
   138	
 > 139	#define USB_CTRL_REG(base, reg)	((void *)base + USB_CTRL_##reg)
   140	#define USB_XHCI_EC_REG(base, reg) ((void *)base + USB_XHCI_EC_##reg)
   141	#define USB_CTRL_MASK(reg, field) \
   142		USB_CTRL_##reg##_##field##_MASK
   143	#define USB_CTRL_MASK_FAMILY(params, reg, field)			\
   144		(params->usb_reg_bits_map[USB_CTRL_##reg##_##field##_SELECTOR])
   145	
   146	#define USB_CTRL_SET_FAMILY(params, reg, field)	\
   147		usb_ctrl_set_family(params, USB_CTRL_##reg,	\
   148				USB_CTRL_##reg##_##field##_SELECTOR)
   149	#define USB_CTRL_UNSET_FAMILY(params, reg, field)	\
   150		usb_ctrl_unset_family(params, USB_CTRL_##reg,	\
   151			USB_CTRL_##reg##_##field##_SELECTOR)
   152	
   153	#define USB_CTRL_SET(base, reg, field)	\
   154		brcmusb_writel(brcmusb_readl(USB_CTRL_REG(base, reg)) |		\
   155			USB_CTRL_##reg##_##field##_MASK, USB_CTRL_REG(base, reg))
   156	#define USB_CTRL_UNSET(base, reg, field)	\
 > 157		brcmusb_writel(brcmusb_readl(USB_CTRL_REG(base, reg)) &		\
   158			~USB_CTRL_##reg##_##field##_MASK, USB_CTRL_REG(base, reg))
   159	
   160	

---
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: 44856 bytes --]

  parent reply	other threads:[~2017-06-14  1:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-13 14:55 [PATCH v2 0/4] " Al Cooper
2017-06-13 14:55 ` [PATCH v2 1/4] soc: brcmstb: Add Product ID and Family ID helper functions Al Cooper
2017-06-14  0:50   ` Florian Fainelli
2017-06-13 14:55 ` [PATCH v2 2/4] dt-bindings: Add Broadcom STB USB PHY binding document Al Cooper
2017-06-18 14:05   ` Rob Herring
2017-06-13 14:55 ` [PATCH v2 3/4] phy: usb: phy-brcm-usb: Add Broadcom STB USB phy driver Al Cooper
2017-06-14  0:48   ` kbuild test robot
2017-06-14  1:57   ` kbuild test robot [this message]
2017-06-13 14:55 ` [PATCH v2 4/4] phy: usb: phy-brcm-usb: Add ability to force DRD mode to host or device Al Cooper

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=201706140920.gV3HAiz4%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=al.cooper@broadcom.com \
    --cc=alcooperx@gmail.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kbuild-all@01.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /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®