Re: [PATCH 2/3] virtio, rpmsg: switch to dynamic_hex_dump()
From: kbuild test robot
Date: Sat Apr 29 2017 - 04:47:37 EST
Hi Dan,
[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.11-rc8 next-20170428]
[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/Dan-Williams/dynamic_hex_dump-cleanup/20170429-135503
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/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//rpmsg/virtio_rpmsg_bus.c: In function 'rpmsg_send_offchannel_raw':
>> drivers//rpmsg/virtio_rpmsg_bus.c:602:2: error: implicit declaration of function 'dynamic_hex_dump' [-Werror=implicit-function-declaration]
dynamic_hex_dump("rpmsg_virtio TX: ", DUMP_PREFIX_NONE, 16, 1,
^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/dynamic_hex_dump +602 drivers//rpmsg/virtio_rpmsg_bus.c
bcabbcca Ohad Ben-Cohen 2011-10-20 596 msg->dst = dst;
bcabbcca Ohad Ben-Cohen 2011-10-20 597 msg->reserved = 0;
bcabbcca Ohad Ben-Cohen 2011-10-20 598 memcpy(msg->data, data, len);
bcabbcca Ohad Ben-Cohen 2011-10-20 599
bcabbcca Ohad Ben-Cohen 2011-10-20 600 dev_dbg(dev, "TX From 0x%x, To 0x%x, Len %d, Flags %d, Reserved %d\n",
0963679c Anna, Suman 2016-08-12 601 msg->src, msg->dst, msg->len, msg->flags, msg->reserved);
211e3a93 Anna, Suman 2016-08-12 @602 dynamic_hex_dump("rpmsg_virtio TX: ", DUMP_PREFIX_NONE, 16, 1,
bcabbcca Ohad Ben-Cohen 2011-10-20 603 msg, sizeof(*msg) + msg->len, true);
bcabbcca Ohad Ben-Cohen 2011-10-20 604
bcabbcca Ohad Ben-Cohen 2011-10-20 605 sg_init_one(&sg, msg, sizeof(*msg) + len);
:::::: The code at line 602 was first introduced by commit
:::::: 211e3a93e5b5933e64ddfb299eee462ac7c7d500 rpmsg: use dynamic_hex_dump for hex dump traces
:::::: TO: Anna, Suman <s-anna@xxxxxx>
:::::: CC: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip