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

From: kbuild test robot
Date: Tue Nov 03 2015 - 19:47:03 EST


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

Attachment: .config.gz
Description: Binary data