[v7, 5/6] fsl/fman: Add FMan Port Support

kbuild test robot lkp at intel.com
Wed Nov 4 11:45:36 AEDT 2015


Hi Igal,

[auto build test ERROR on net/master]
[also ERROR on: v4.3 next-20151103]

url:    https://github.com/0day-ci/linux/commits/igal-liberman-freescale-com/Freescale-DPAA-FMan/20151103-003323
base:   https://github.com/0day-ci/linux igal-liberman-freescale-com/Freescale-DPAA-FMan/20151103-003323
config: arm-allyesconfig (attached as .config)
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
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/freescale/fman/fman_port.c: In function 'fman_port_disable':
>> drivers/net/ethernet/freescale/fman/fman_port.c:1510:4: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration]
       udelay(10);
       ^
   cc1: some warnings being treated as errors

vim +/udelay +1510 drivers/net/ethernet/freescale/fman/fman_port.c

  1504			tmp = ioread32be(&port->qmi_regs->fmqm_pnc) & ~QMI_PORT_CFG_EN;
  1505			iowrite32be(tmp, &port->qmi_regs->fmqm_pnc);
  1506	
  1507			/* Wait for QMI to finish FD handling */
  1508			count = 100;
  1509			do {
> 1510				udelay(10);
  1511				tmp = ioread32be(&port->qmi_regs->fmqm_pns);
  1512			} while ((tmp & QMI_PORT_STATUS_DEQ_FD_BSY) && --count);
  1513	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 53090 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20151104/8c42b8cd/attachment-0001.obj>


More information about the Linuxppc-dev mailing list