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.cher...@ti.com>
:::::: CC: Felipe Balbi <ba...@ti.com>

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

Attachment: .config.gz
Description: Binary data

Reply via email to