Re: [PATCH v1 2/2] usb: musb: pic32: Add USB DRC driver for PIC32 OTG controller.

From: kbuild test robot
Date: Thu Apr 07 2016 - 08:11:39 EST


Hi Cristian,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.6-rc2 next-20160407]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Purna-Chandra-Mandal/dt-bindings-usb-Add-bindings-for-PIC32-MUSB-driver/20160407-192020
base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/usb/musb/pic32.c: In function 'pic32_read_fifo':
>> drivers/usb/musb/pic32.c:339:2: error: implicit declaration of function 'readsl' [-Werror=implicit-function-declaration]
readsl(fifo, dst, len / 4);
^
cc1: some warnings being treated as errors

vim +/readsl +339 drivers/usb/musb/pic32.c

333 static void pic32_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst)
334 {
335 void __iomem *fifo = hw_ep->fifo;
336 u32 val, rem = len % 4;
337
338 /* USB stack ensures dst is always 32bit aligned. */
> 339 readsl(fifo, dst, len / 4);
340
341 if (rem) {
342 dst += len & ~0x03;

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

Attachment: .config.gz
Description: Binary data