lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202008080536.5sKvDI0W%lkp@intel.com>
Date:   Sat, 8 Aug 2020 05:19:43 +0800
From:   kernel test robot <lkp@...el.com>
To:     Luc Van Oostenryck <luc.vanoostenryck@...il.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/usb/gadget/udc/s3c-hsudc.c:783:47: sparse: sparse: incorrect
 type in argument 2 (different address spaces)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5631c5e0eb9035d92ceb20fcd9cdb7779a3f5cc7
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date:   7 weeks ago
config: arm-randconfig-s032-20200808 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.2-118-ge1578773-dirty
        git checkout 670d0a4b10704667765f7d18f7592993d02783aa
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>


sparse warnings: (new ones prefixed by >>)

   drivers/usb/gadget/udc/s3c-hsudc.c:563:25: sparse: sparse: restricted __le16 degrades to integer
>> drivers/usb/gadget/udc/s3c-hsudc.c:783:47: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected unsigned long volatile *addr @@     got void [noderef] __iomem * @@
   drivers/usb/gadget/udc/s3c-hsudc.c:783:47: sparse:     expected unsigned long volatile *addr
>> drivers/usb/gadget/udc/s3c-hsudc.c:783:47: sparse:     got void [noderef] __iomem *
   drivers/usb/gadget/udc/s3c-hsudc.c:808:49: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected unsigned long volatile *addr @@     got void [noderef] __iomem * @@
   drivers/usb/gadget/udc/s3c-hsudc.c:808:49: sparse:     expected unsigned long volatile *addr
   drivers/usb/gadget/udc/s3c-hsudc.c:808:49: sparse:     got void [noderef] __iomem *
--
   drivers/irqchip/irq-s3c24xx.c:359:39: sparse: sparse: symbol 's3c24xx_handle_irq' was not declared. Should it be static?
>> drivers/irqchip/irq-s3c24xx.c:522:31: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected void [noderef] __iomem *base @@     got void * @@
>> drivers/irqchip/irq-s3c24xx.c:522:31: sparse:     expected void [noderef] __iomem *base
   drivers/irqchip/irq-s3c24xx.c:522:31: sparse:     got void *
>> drivers/irqchip/irq-s3c24xx.c:566:22: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void [noderef] __iomem *base @@     got void * @@
   drivers/irqchip/irq-s3c24xx.c:566:22: sparse:     expected void [noderef] __iomem *base
   drivers/irqchip/irq-s3c24xx.c:566:22: sparse:     got void *
   drivers/irqchip/irq-s3c24xx.c:1301:12: sparse: sparse: symbol 's3c2410_init_intc_of' was not declared. Should it be static?
   drivers/irqchip/irq-s3c24xx.c:1323:12: sparse: sparse: symbol 's3c2416_init_intc_of' was not declared. Should it be static?
--
>> drivers/tty/serial/ucc_uart.c:264:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
>> drivers/tty/serial/ucc_uart.c:264:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:264:21: sparse:     got restricted __be16 *
>> drivers/tty/serial/ucc_uart.c:264:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
>> drivers/tty/serial/ucc_uart.c:264:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:264:21: sparse:     got restricted __be16 *
>> drivers/tty/serial/ucc_uart.c:264:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
>> drivers/tty/serial/ucc_uart.c:264:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:264:21: sparse:     got restricted __be16 *
>> drivers/tty/serial/ucc_uart.c:264:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
>> drivers/tty/serial/ucc_uart.c:264:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:264:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:268:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:268:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:268:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:268:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:268:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:286:6: sparse: sparse: symbol 'qe_uart_set_mctrl' was not declared. Should it be static?
   drivers/tty/serial/ucc_uart.c:347:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:347:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:347:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:348:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:348:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:350:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:350:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:350:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:350:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:350:21: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:369:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:369:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:369:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:369:18: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:369:18: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:382:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:382:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:382:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:383:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:383:17: sparse:     expected void const volatile [noderef] __iomem *
   drivers/tty/serial/ucc_uart.c:383:17: sparse:     got restricted __be16 *
   drivers/tty/serial/ucc_uart.c:383:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem * @@     got restricted __be16 * @@
   drivers/tty/serial/ucc_uart.c:383:17: sparse:     expected void const volatile [noderef] __iomem *

vim +783 drivers/usb/gadget/udc/s3c-hsudc.c

a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  738  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  739  /**
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  740   * s3c_hsudc_ep_enable - Enable a endpoint.
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  741   * @_ep: The endpoint to be enabled.
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  742   * @desc: Endpoint descriptor.
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  743   *
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  744   * Enables a endpoint when called from the gadget driver. Endpoint stall if
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  745   * any is cleared, transfer type is configured and endpoint interrupt is
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  746   * enabled.
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  747   */
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  748  static int s3c_hsudc_ep_enable(struct usb_ep *_ep,
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  749  				const struct usb_endpoint_descriptor *desc)
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  750  {
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  751  	struct s3c_hsudc_ep *hsep;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  752  	struct s3c_hsudc *hsudc;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  753  	unsigned long flags;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  754  	u32 ecr = 0;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  755  
2d4172c938745c drivers/usb/gadget/s3c-hsudc.c Heiko Stübner     2012-01-08  756  	hsep = our_ep(_ep);
109f0f718375e1 drivers/usb/gadget/s3c-hsudc.c Ido Shayevitz     2012-06-04  757  	if (!_ep || !desc || _ep->name == ep0name
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  758  		|| desc->bDescriptorType != USB_DT_ENDPOINT
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  759  		|| hsep->bEndpointAddress != desc->bEndpointAddress
29cc88979a8818 drivers/usb/gadget/s3c-hsudc.c Kuninori Morimoto 2011-08-23  760  		|| ep_maxpacket(hsep) < usb_endpoint_maxp(desc))
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  761  		return -EINVAL;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  762  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  763  	if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK
29cc88979a8818 drivers/usb/gadget/s3c-hsudc.c Kuninori Morimoto 2011-08-23  764  		&& usb_endpoint_maxp(desc) != ep_maxpacket(hsep))
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  765  		|| !desc->wMaxPacketSize)
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  766  		return -ERANGE;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  767  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  768  	hsudc = hsep->dev;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  769  	if (!hsudc->driver || hsudc->gadget.speed == USB_SPEED_UNKNOWN)
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  770  		return -ESHUTDOWN;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  771  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  772  	spin_lock_irqsave(&hsudc->lock, flags);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  773  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  774  	set_index(hsudc, hsep->bEndpointAddress);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  775  	ecr |= ((usb_endpoint_xfer_int(desc)) ? S3C_ECR_IEMS : S3C_ECR_DUEN);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  776  	writel(ecr, hsudc->regs + S3C_ECR);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  777  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  778  	hsep->stopped = hsep->wedge = 0;
955846a60a9db8 drivers/usb/gadget/s3c-hsudc.c Ido Shayevitz     2012-03-12  779  	hsep->ep.desc = desc;
29cc88979a8818 drivers/usb/gadget/s3c-hsudc.c Kuninori Morimoto 2011-08-23  780  	hsep->ep.maxpacket = usb_endpoint_maxp(desc);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  781  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  782  	s3c_hsudc_set_halt(_ep, 0);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07 @783  	__set_bit(ep_index(hsep), hsudc->regs + S3C_EIER);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  784  
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  785  	spin_unlock_irqrestore(&hsudc->lock, flags);
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  786  	return 0;
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  787  }
a9df304cf78d76 drivers/usb/gadget/s3c-hsudc.c Thomas Abraham    2011-05-07  788  

:::::: The code at line 783 was first introduced by commit
:::::: a9df304cf78d76108196da1ff1dad4d9a5737c2e USB: Gadget: Add Samsung S3C24XX USB High-Speed controller driver

:::::: TO: Thomas Abraham <thomas.ab@...sung.com>
:::::: CC: Greg Kroah-Hartman <gregkh@...e.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (25384 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ