Re: [PATCH v3 1/6] usb: host: xhci: rcar: retire use of xhci_plat_type_is()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.6-rc4 next-20160421]
[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/Felipe-Balbi/usb-xhci-get-rid-of-xhci_plat_type_is/20160422-162823
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: mips-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=mips 

All errors (new ones prefixed by >>):

   drivers/usb/host/xhci-rcar.c: In function 'xhci_rcar_is_gen3':
>> drivers/usb/host/xhci-rcar.c:94:62: error: expected expression before ')' token
     return of_device_is_compatible(node, "renesas,xhci-r8a7795",) ||
                                                                 ^
>> drivers/usb/host/xhci-rcar.c:94:9: error: too many arguments to function 'of_device_is_compatible'
     return of_device_is_compatible(node, "renesas,xhci-r8a7795",) ||
            ^
   In file included from drivers/usb/host/xhci-rcar.c:14:0:
   include/linux/of.h:308:12: note: declared here
    extern int of_device_is_compatible(const struct device_node *device,
               ^

vim +94 drivers/usb/host/xhci-rcar.c

    88	}
    89	
    90	static int xhci_rcar_is_gen3(struct device *dev)
    91	{
    92		struct device_node *node = dev->of_node;
    93	
  > 94		return of_device_is_compatible(node, "renesas,xhci-r8a7795",) ||
    95			of_device_is_compatible(node, "renesas,rcar-gen3-xhci");
    96	}
    97	

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux