linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: unlisted-recipients:; (no To-header on input)
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Rob Herring <robh@kernel.org>
Subject: drivers/usb/musb/musb_dsps.c:478:32: error: 'MUSB_BABBLE_CTL' undeclared
Date: Sun, 12 Jun 2016 04:50:30 +0800	[thread overview]
Message-ID: <201606120427.AjSltJPx%fengguang.wu@intel.com> (raw)

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

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   45b00c94be33db5d00595046663163ce55cbbfb9
commit: 0166dc11be911213e0b1b764488c671be4c48cf3 of: make CONFIG_OF user selectable
date:   1 year ago
config: blackfin-allmodconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 4.6.3
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 0166dc11be911213e0b1b764488c671be4c48cf3
        # save the attached .config to linux build tree
        make.cross ARCH=blackfin 

All errors (new ones prefixed by >>):

   drivers/usb/musb/musb_dsps.c: In function 'dsps_musb_disable':
   drivers/usb/musb/musb_dsps.c:247:27: error: 'USB_OTG_DEV_CTL' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c:247:27: note: each undeclared identifier is reported only once for each function it appears in
   drivers/usb/musb/musb_dsps.c:247:27: error: 'USB_FADDR' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c: In function 'otg_timer':
   drivers/usb/musb/musb_dsps.c:265:29: error: 'USB_OTG_DEV_CTL' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c:265:29: error: 'USB_FADDR' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c: In function 'dsps_interrupt':
   drivers/usb/musb/musb_dsps.c:337:33: error: 'USB_OTG_DEV_CTL' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c:337:33: error: 'USB_FADDR' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c: In function 'dsps_musb_init':
>> drivers/usb/musb/musb_dsps.c:478:32: error: 'MUSB_BABBLE_CTL' undeclared (first use in this function)
   drivers/usb/musb/musb_dsps.c: In function 'dsps_sw_babble_control':
   drivers/usb/musb/musb_dsps.c:558:39: error: 'MUSB_BABBLE_CTL' undeclared (first use in this function)

vim +/MUSB_BABBLE_CTL +478 drivers/usb/musb/musb_dsps.c

9ecb8875 Ajay Kumar Gupta 2012-03-12  462  	/* Reset the musb */
9ecb8875 Ajay Kumar Gupta 2012-03-12  463  	dsps_writel(reg_base, wrp->control, (1 << wrp->reset));
9ecb8875 Ajay Kumar Gupta 2012-03-12  464  
9ecb8875 Ajay Kumar Gupta 2012-03-12  465  	musb->isr = dsps_interrupt;
9ecb8875 Ajay Kumar Gupta 2012-03-12  466  
9ecb8875 Ajay Kumar Gupta 2012-03-12  467  	/* reset the otgdisable bit, needed for host mode to work */
9ecb8875 Ajay Kumar Gupta 2012-03-12  468  	val = dsps_readl(reg_base, wrp->phy_utmi);
9ecb8875 Ajay Kumar Gupta 2012-03-12  469  	val &= ~(1 << wrp->otg_disable);
9ecb8875 Ajay Kumar Gupta 2012-03-12  470  	dsps_writel(musb->ctrl_base, wrp->phy_utmi, val);
9ecb8875 Ajay Kumar Gupta 2012-03-12  471  
371254ce George Cherian   2014-07-16  472  	/*
371254ce George Cherian   2014-07-16  473  	 *  Check whether the dsps version has babble control enabled.
371254ce George Cherian   2014-07-16  474  	 * In latest silicon revision the babble control logic is enabled.
371254ce George Cherian   2014-07-16  475  	 * If MUSB_BABBLE_CTL returns 0x4 then we have the babble control
371254ce George Cherian   2014-07-16  476  	 * logic enabled.
371254ce George Cherian   2014-07-16  477  	 */
371254ce George Cherian   2014-07-16 @478  	val = dsps_readb(musb->mregs, MUSB_BABBLE_CTL);
f860f0b1 Felipe Balbi     2015-02-26  479  	if (val & MUSB_BABBLE_RCV_DISABLE) {
371254ce George Cherian   2014-07-16  480  		glue->sw_babble_enabled = true;
371254ce George Cherian   2014-07-16  481  		val |= MUSB_BABBLE_SW_SESSION_CTRL;
371254ce George Cherian   2014-07-16  482  		dsps_writeb(musb->mregs, MUSB_BABBLE_CTL, val);
371254ce George Cherian   2014-07-16  483  	}
371254ce George Cherian   2014-07-16  484  
40f099e3 Markus Pargmann  2014-01-17  485  	ret = dsps_musb_dbg_init(musb, glue);
40f099e3 Markus Pargmann  2014-01-17  486  	if (ret)

:::::: The code at line 478 was first introduced by commit
:::::: 371254ce462fcea2d09ffa30e20f01538b833080 usb: musb: dsps: Add the sw_babble_control() and Enable for newer silicon

:::::: TO: George Cherian <george.cherian@ti.com>
:::::: CC: Felipe Balbi <balbi@ti.com>

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

                 reply	other threads:[~2016-06-11 21:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201606120427.AjSltJPx%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@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;
as well as URLs for NNTP newsgroup(s).