Re: [PATCH 14/15] drivers: net: davinci_mdio: enable pm runtime auto for ti cpsw-mdio
From: kbuild test robot
Date: Wed Jun 15 2016 - 09:50:35 EST
Hi,
[auto build test ERROR on net-next/master]
[also build test ERROR on v4.7-rc3 next-20160615]
[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/Grygorii-Strashko/drivers-net-cpsw-improve-runtime-pm/20160615-200750
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205
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/ti/davinci_mdio.c: In function 'davinci_mdio_probe':
>> drivers/net/ethernet/ti/davinci_mdio.c:375:31: error: passing argument 1 of 'davinci_mdio_probe_dt' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = davinci_mdio_probe_dt(data, pdev);
^
drivers/net/ethernet/ti/davinci_mdio.c:320:12: note: expected 'struct mdio_platform_data *' but argument is of type 'struct davinci_mdio_data *'
static int davinci_mdio_probe_dt(struct mdio_platform_data *data,
^
cc1: some warnings being treated as errors
vim +/davinci_mdio_probe_dt +375 drivers/net/ethernet/ti/davinci_mdio.c
369 return -ENOMEM;
370 }
371
372 if (dev->of_node) {
373 const struct of_device_id *of_id;
374
> 375 ret = davinci_mdio_probe_dt(data, pdev);
376 if (ret)
377 return ret;
378 snprintf(data->bus->id, MII_BUS_ID_SIZE, "%s", pdev->name);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data