Hi Benjamin,

[auto build test ERROR on v4.12]
[cannot apply to balbi-usb/next next-20170707]
[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/Benjamin-Herrenschmidt/usb-gadget-Fix-high-bandwidth-check-in-usb_gadget_ep_match_desc/20170709-203037
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
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=xtensa 

All errors (new ones prefixed by >>):

   drivers/usb/gadget/udc/aspeed-vhub/dev.c: In function 
'ast_vhub_std_dev_request':
>> drivers/usb/gadget/udc/aspeed-vhub/dev.c:235:2: error: duplicate case value
     case EndpointRequest | USB_REQ_GET_STATUS:
     ^
>> drivers/usb/gadget/udc/aspeed-vhub/dev.c:233:2: error: previously used here
     case InterfaceRequest | USB_REQ_GET_STATUS:
     ^
--
   drivers/usb/gadget/udc/aspeed-vhub/hub.c: In function 
'ast_vhub_std_hub_request':
>> drivers/usb/gadget/udc/aspeed-vhub/hub.c:371:2: error: duplicate case value
     case EndpointRequest | USB_REQ_GET_STATUS:
     ^
>> drivers/usb/gadget/udc/aspeed-vhub/hub.c:369:2: error: previously used here
     case InterfaceRequest | USB_REQ_GET_STATUS:
     ^

vim +235 drivers/usb/gadget/udc/aspeed-vhub/dev.c

   227                  ast_vhub_dev_set_address(d, wValue);
   228                  return std_req_complete;
   229  
   230                  /* GET_STATUS */
   231          case DeviceRequest | USB_REQ_GET_STATUS:
   232                  return ast_vhub_dev_status(d, wIndex, wValue);
 > 233          case InterfaceRequest | USB_REQ_GET_STATUS:
   234                  return ast_vhub_simple_reply(ep, 0, 0);
 > 235          case EndpointRequest | USB_REQ_GET_STATUS:
   236                  return ast_vhub_ep_status(d, wIndex, wValue);
   237  
   238                  /* SET/CLEAR_FEATURE */

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

Attachment: .config.gz
Description: application/gzip

Reply via email to