Re: [PATCH v3 1/5] stmmac: replace all pr_xxx by their netdev_xxx counterpart

From: kbuild test robot
Date: Thu Nov 05 2015 - 05:58:51 EST


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

config: m68k-allyesconfig (attached as .config)
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k

Note: the linux-review/LABBE-Corentin/stmmac-replace-all-pr_xxx-by-their-netdev_xxx-counterpart/20151105-163344 HEAD 6d5b68276276235c73d865a816807f6073f341e9 builds fine.
It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_open':
>> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1822:7: error: expected ')' before '__func__'
>> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1822:7: warning: format '%s' expects a matching 'char *' argument [-Wformat=]

vim +1822 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

1816 priv->dma_rx_size = STMMAC_ALIGN(dma_rxsize);
1817 priv->dma_buf_sz = STMMAC_ALIGN(buf_sz);
1819 ret = alloc_dma_desc_resources(priv);
1820 if (ret < 0) {
1821 netdev_err(priv->dev, "%s: DMA descriptors allocation failed\n"
> 1822 __func__);
1823 goto dma_desc_error;
1824 }

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: Binary data