Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
* [balbi-usb:next 81/89] drivers/usb/gadget/udc/atmel_usba_udc.c:2106:22: warning: variable 'pp' set but not used
@ 2020-05-20 22:49 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-20 22:49 UTC (permalink / raw)
  To: Gregory CLEMENT; +Cc: kbuild-all, linux-usb, linux-omap, Felipe Balbi


[-- Attachment #1: Type: text/plain, Size: 19184 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
head:   a65a1ec70639afa5ff7990cf33213dd41f3c7176
commit: e35e744daa81d8837ecdcd582910b0fda31946c6 [81/89] usb: gadget: udc: atmel: Don't use DT to configure end point
config: arm-allyesconfig (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
        git checkout e35e744daa81d8837ecdcd582910b0fda31946c6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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

All warnings (new ones prefixed by >>, old ones prefixed by <<):

drivers/usb/gadget/udc/atmel_usba_udc.c: In function 'atmel_udc_of_init':
>> drivers/usb/gadget/udc/atmel_usba_udc.c:2106:22: warning: variable 'pp' set but not used [-Wunused-but-set-variable]
2106 |  struct device_node *pp;
|                      ^~

vim +/pp +2106 drivers/usb/gadget/udc/atmel_usba_udc.c

3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2100  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2101  static struct usba_ep * atmel_udc_of_init(struct platform_device *pdev,
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2102  						    struct usba_udc *udc)
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2103  {
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2104  	struct device_node *np = pdev->dev.of_node;
3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2105  	const struct of_device_id *match;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03 @2106  	struct device_node *pp;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2107  	int i, ret;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2108  	struct usba_ep *eps, *ep;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2109  	const struct usba_udc_config *udc_config;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2110  
3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2111  	match = of_match_node(atmel_udc_dt_ids, np);
3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2112  	if (!match)
3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2113  		return ERR_PTR(-EINVAL);
3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2114  
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2115  	udc_config = match->data;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2116  	udc->errata = udc_config->errata;
4747639f01c924 drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2015-09-30  2117  	udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9g45-pmc");
bb80e4fa57eb75 drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2018-09-10  2118  	if (IS_ERR(udc->pmc))
bb80e4fa57eb75 drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2018-09-10  2119  		udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9rl-pmc");
882bd9fc46321c drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2016-06-13  2120  	if (IS_ERR(udc->pmc))
882bd9fc46321c drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2016-06-13  2121  		udc->pmc = syscon_regmap_lookup_by_compatible("atmel,at91sam9x5-pmc");
4747639f01c924 drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2015-09-30  2122  	if (udc->errata && IS_ERR(udc->pmc))
4747639f01c924 drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2015-09-30  2123  		return ERR_CAST(udc->pmc);
3280e67536f8a4 drivers/usb/gadget/udc/atmel_usba_udc.c Boris Brezillon                  2015-01-06  2124  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2125  	udc->num_ep = 0;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2126  
3df034081021fa drivers/usb/gadget/udc/atmel_usba_udc.c Ludovic Desroches                2018-02-01  2127  	udc->vbus_pin = devm_gpiod_get_optional(&pdev->dev, "atmel,vbus",
3df034081021fa drivers/usb/gadget/udc/atmel_usba_udc.c Ludovic Desroches                2018-02-01  2128  						GPIOD_IN);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2129  
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2130  	if (fifo_mode == 0) {
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2131  		pp = NULL;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2132  		udc->num_ep = udc_config->num_ep;
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2133  		udc->configured_ep = 1;
fbf4987ae89261 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-03-28  2134  	} else {
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2135  		udc->num_ep = usba_config_fifo_table(udc);
fbf4987ae89261 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-03-28  2136  	}
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2137  
a86854d0c599b3 drivers/usb/gadget/udc/atmel_usba_udc.c Kees Cook                        2018-06-12  2138  	eps = devm_kcalloc(&pdev->dev, udc->num_ep, sizeof(struct usba_ep),
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2139  			   GFP_KERNEL);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2140  	if (!eps)
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2141  		return ERR_PTR(-ENOMEM);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2142  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2143  	udc->gadget.ep0 = &eps[0].ep;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2144  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2145  	INIT_LIST_HEAD(&eps[0].ep.ep_list);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2146  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2147  	pp = NULL;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2148  	i = 0;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2149  	while (i < udc->num_ep) {
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2150  		const struct usba_ep_config *ep_cfg = &udc_config->config[i];
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2151  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2152  		ep = &eps[i];
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2153  
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2154  		ep->index = fifo_mode ? udc->fifo_cfg[i].hw_ep_num : i;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2155  
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2156  		/* Only the first EP is 64 bytes */
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2157  		if (ep->index == 0)
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2158  			ep->fifo_size = 64;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2159  		else
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2160  			ep->fifo_size = 1024;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2161  
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2162  		if (fifo_mode) {
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2163  			if (ep->fifo_size < udc->fifo_cfg[i].fifo_size)
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2164  				dev_warn(&pdev->dev,
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2165  					 "Using default max fifo-size value\n");
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2166  			else
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2167  				ep->fifo_size = udc->fifo_cfg[i].fifo_size;
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2168  		}
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2169  
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2170  		ep->nr_banks = ep_cfg->nr_banks;
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2171  		if (fifo_mode) {
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2172  			if (ep->nr_banks < udc->fifo_cfg[i].nr_banks)
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2173  				dev_warn(&pdev->dev,
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2174  					 "Using default max nb-banks value\n");
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2175  			else
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2176  				ep->nr_banks = udc->fifo_cfg[i].nr_banks;
b378e3bc3bd3e5 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-04-03  2177  		}
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2178  
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2179  		ep->can_dma = ep_cfg->can_dma;
e35e744daa81d8 drivers/usb/gadget/udc/atmel_usba_udc.c Gregory CLEMENT                  2020-05-07  2180  		ep->can_isoc = ep_cfg->can_isoc;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2181  
32856eea7bf75d drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2017-01-11  2182  		sprintf(ep->name, "ep%d", ep->index);
32856eea7bf75d drivers/usb/gadget/udc/atmel_usba_udc.c Alexandre Belloni                2017-01-11  2183  		ep->ep.name = ep->name;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2184  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2185  		ep->ep_regs = udc->regs + USBA_EPT_BASE(i);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2186  		ep->dma_regs = udc->regs + USBA_DMA_BASE(i);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2187  		ep->fifo = udc->fifo + USBA_FIFO_BASE(i);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2188  		ep->ep.ops = &usba_ep_ops;
e117e742d31068 drivers/usb/gadget/atmel_usba_udc.c     Robert Baldyga                   2013-12-13  2189  		usb_ep_set_maxpacket_limit(&ep->ep, ep->fifo_size);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2190  		ep->udc = udc;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2191  		INIT_LIST_HEAD(&ep->queue);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2192  
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2193  		if (ep->index == 0) {
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2194  			ep->ep.caps.type_control = true;
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2195  		} else {
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2196  			ep->ep.caps.type_iso = ep->can_isoc;
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2197  			ep->ep.caps.type_bulk = true;
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2198  			ep->ep.caps.type_int = true;
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2199  		}
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2200  
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2201  		ep->ep.caps.dir_in = true;
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2202  		ep->ep.caps.dir_out = true;
cf261fd1a444e8 drivers/usb/gadget/udc/atmel_usba_udc.c Sylvain Rochet                   2015-09-18  2203  
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2204  		if (fifo_mode != 0) {
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2205  			/*
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2206  			 * Generate ept_cfg based on FIFO size and
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2207  			 * banks number
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2208  			 */
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2209  			if (ep->fifo_size  <= 8)
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2210  				ep->ept_cfg = USBA_BF(EPT_SIZE, USBA_EPT_SIZE_8);
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2211  			else
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2212  				/* LSB is bit 1, not 0 */
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2213  				ep->ept_cfg =
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2214  				  USBA_BF(EPT_SIZE, fls(ep->fifo_size - 1) - 3);
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2215  
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2216  			ep->ept_cfg |= USBA_BF(BK_NUMBER, ep->nr_banks);
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2217  		}
741d2558bf0aa8 drivers/usb/gadget/udc/atmel_usba_udc.c Cristian Birsan                  2017-01-23  2218  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2219  		if (i)
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2220  			list_add_tail(&ep->ep.ep_list, &udc->gadget.ep_list);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2221  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2222  		i++;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2223  	}
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2224  
fb0e139d93f50f drivers/usb/gadget/atmel_usba_udc.c     Alexandre Belloni                2014-02-27  2225  	if (i == 0) {
fb0e139d93f50f drivers/usb/gadget/atmel_usba_udc.c     Alexandre Belloni                2014-02-27  2226  		dev_err(&pdev->dev, "of_probe: no endpoint specified\n");
fb0e139d93f50f drivers/usb/gadget/atmel_usba_udc.c     Alexandre Belloni                2014-02-27  2227  		ret = -EINVAL;
fb0e139d93f50f drivers/usb/gadget/atmel_usba_udc.c     Alexandre Belloni                2014-02-27  2228  		goto err;
fb0e139d93f50f drivers/usb/gadget/atmel_usba_udc.c     Alexandre Belloni                2014-02-27  2229  	}
fb0e139d93f50f drivers/usb/gadget/atmel_usba_udc.c     Alexandre Belloni                2014-02-27  2230  
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2231  	return eps;
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2232  err:
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2233  	return ERR_PTR(ret);
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2234  }
4a3ae9324ebeb9 drivers/usb/gadget/atmel_usba_udc.c     Jean-Christophe PLAGNIOL-VILLARD 2013-05-03  2235  

:::::: The code at line 2106 was first introduced by commit
:::::: 4a3ae9324ebeb9715369d2bca799bfd7dcff6dd7 USB: gadget: atmel_usba: add DT support

:::::: TO: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
:::::: CC: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 73994 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 22:49 [balbi-usb:next 81/89] drivers/usb/gadget/udc/atmel_usba_udc.c:2106:22: warning: variable 'pp' set but not used kbuild test robot

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org
	public-inbox-index linux-usb

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git