Re: [PATCH] usb: gadget: functions: add ftrace export over USB
From: kbuild test robot
Date: Fri Jun 09 2017 - 23:39:17 EST
Hi Felipe,
[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.12-rc4 next-20170609]
[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/Felipe-Balbi/usb-gadget-functions-add-ftrace-export-over-USB/20170610-060059
base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
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/usb/gadget/function/f-trace.c: In function 'ftrace_bind':
>> drivers/usb/gadget/function/f-trace.c:271:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
trace->ftrace.write = ftrace_write;
^
cc1: some warnings being treated as errors
vim +271 drivers/usb/gadget/function/f-trace.c
265 goto err0;
266 trace->in = ep;
267
268 ftrace_hs_in_desc.bEndpointAddress = ftrace_fs_in_desc.bEndpointAddress;
269 ftrace_ss_in_desc.bEndpointAddress = ftrace_fs_in_desc.bEndpointAddress;
270
> 271 trace->ftrace.write = ftrace_write;
272
273 spin_lock_init(&trace->lock);
274 INIT_WORK(&trace->queue_work, ftrace_queue_work);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip