Re: [PATCH net-next 1/8] vhost: move get_rx_bufs to vhost.c

From: Jason Wang
Date: Tue Jul 03 2018 - 23:28:44 EST




On 2018å07æ04æ 09:01, kbuild test robot wrote:
Hi Jason,

I love your patch! Yet something to improve:

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

url:https://github.com/0day-ci/linux/commits/Jason-Wang/Packed-virtqueue-for-vhost/20180703-154751
config: x86_64-randconfig-s0-07032254 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Jason-Wang/Packed-virtqueue-for-vhost/20180703-154751 HEAD 01b902f1126212ea2597e6d09802bd9c4431bf82 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers//vhost/net.c: In function 'handle_rx':
drivers//vhost/net.c:738:15: error: implicit declaration of function 'get_rx_bufs' [-Werror=implicit-function-declaration]
headcount = get_rx_bufs(vq, vq->heads + nvq->done_idx,
^~~~~~~~~~~
cc1: some warnings being treated as errors

vim +/get_rx_bufs +738 drivers//vhost/net.c

My bad, forget to do one by one compling test.

Will post V2.

Thanks