Re: [PATCH net-next 8/8] net: qualcomm: add QCA7000 UART driver

From: kbuild test robot
Date: Tue Sep 20 2016 - 10:45:04 EST


Hi Stefan,

[auto build test ERROR on net-next/master]

url: https://github.com/0day-ci/linux/commits/Stefan-Wahren/net-qualcomm-add-QCA7000-UART-driver/20160920-210908
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/net/ethernet/qualcomm/qca_uart.c: In function 'qcauart_netdev_xmit':
>> drivers/net/ethernet/qualcomm/qca_uart.c:302:5: error: 'struct net_device' has no member named 'trans_start'; did you mean 'mem_start'?
dev->trans_start = jiffies;
^~
drivers/net/ethernet/qualcomm/qca_uart.c: In function 'qcauart_netdev_tx_timeout':
drivers/net/ethernet/qualcomm/qca_uart.c:314:29: error: 'struct net_device' has no member named 'trans_start'; did you mean 'mem_start'?
jiffies, jiffies - dev->trans_start);
^~

vim +302 drivers/net/ethernet/qualcomm/qca_uart.c

296 written = qca->tty->ops->write(qca->tty, qca->xbuff, pos - qca->xbuff);
297 qca->xleft = (pos - qca->xbuff) - written;
298 qca->xhead = qca->xbuff + written;
299 n_stats->tx_bytes += written;
300 spin_unlock(&qca->lock);
301
> 302 dev->trans_start = jiffies;
303 out:
304 kfree_skb(skb);
305 return NETDEV_TX_OK;

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

Attachment: .config.gz
Description: application/gzip