Re: [PATCH 2/3] usb: gadget: f_uac*: Reduce code duplication

From: kbuild test robot
Date: Mon Jun 26 2017 - 19:31:33 EST


Hi Julian,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on next-20170626]
[cannot apply to v4.12-rc7]
[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/Julian-Scheel/usb-gadget-f_uac1-Fix-endpoint-reading/20170626-202843
base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: arm-imx_v6_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/usb/gadget/legacy/audio.c:24:20: fatal error: u_uac2.h: No such file or directory
#include "u_uac2.h"
^
compilation terminated.

vim +24 drivers/usb/gadget/legacy/audio.c

c6994e6f drivers/usb/gadget/audio.c Bryan Wu 2009-06-03 18 #define DRIVER_DESC "Linux USB Audio Gadget"
132fcb46 drivers/usb/gadget/audio.c Jassi Brar 2012-02-02 19 #define DRIVER_VERSION "Feb 2, 2012"
c6994e6f drivers/usb/gadget/audio.c Bryan Wu 2009-06-03 20
7d16e8d3 drivers/usb/gadget/audio.c Sebastian Andrzej Siewior 2012-09-10 21 USB_GADGET_COMPOSITE_OPTIONS();
c6994e6f drivers/usb/gadget/audio.c Bryan Wu 2009-06-03 22
0591bc23 drivers/usb/gadget/legacy/audio.c Ruslan Bilovol 2017-06-18 23 #ifndef CONFIG_GADGET_UAC1
065a107c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 @24 #include "u_uac2.h"
065a107c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 25
ad94ac0c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 26 /* Playback(USB-IN) Default Stereo - Fl/Fr */
065a107c drivers/usb/gadget/legacy/audio.c Andrzej Pietrasiewicz 2014-07-22 27 static int p_chmask = UAC2_DEF_PCHMASK;

:::::: The code at line 24 was first introduced by commit
:::::: 065a107cdd70f0621011424009b3ecd4e42481b1 usb: gadget: f_uac2: use defined constants as defaults

:::::: TO: Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxx>
:::::: CC: Felipe Balbi <balbi@xxxxxx>

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

Attachment: .config.gz
Description: application/gzip