Re: [PATCH v2 1/2] usb: xhci: plat: fix adding usb3-lpm-capable quirk

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

 



Hi Hauke,

[auto build test WARNING on usb/usb-testing]
[also build test WARNING on next-20151207]
[cannot apply to v4.4-rc4]

url:    https://github.com/0day-ci/linux/commits/Hauke-Mehrtens/usb-xhci-plat-fix-adding-usb3-lpm-capable-quirk/20151208-063433
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: i386-randconfig-x009-12070758 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/usb/host/xhci-plat.c: In function 'xhci_plat_probe':
>> drivers/usb/host/xhci-plat.c:128:22: warning: unused variable 'node' [-Wunused-variable]
     struct device_node *node = pdev->dev.of_node;
                         ^

vim +/node +128 drivers/usb/host/xhci-plat.c

4efb2f69 Yoshihiro Shimoda         2015-11-24  112  		.compatible = "renesas,xhci-r8a7791",
4efb2f69 Yoshihiro Shimoda         2015-11-24  113  		.data = &xhci_plat_renesas_rcar_gen2,
4efb2f69 Yoshihiro Shimoda         2015-11-24  114  	}, {
82487b71 Yoshihiro Shimoda         2015-11-24  115  		.compatible = "renesas,xhci-r8a7793",
82487b71 Yoshihiro Shimoda         2015-11-24  116  		.data = &xhci_plat_renesas_rcar_gen2,
82487b71 Yoshihiro Shimoda         2015-11-24  117  	}, {
526a240f Yoshihiro Shimoda         2015-11-24  118  		.compatible = "renesas,xhci-r8a7795",
526a240f Yoshihiro Shimoda         2015-11-24  119  		.data = &xhci_plat_renesas_rcar_gen3,
526a240f Yoshihiro Shimoda         2015-11-24  120  	}, {
4efb2f69 Yoshihiro Shimoda         2015-11-24  121  	},
4efb2f69 Yoshihiro Shimoda         2015-11-24  122  };
4efb2f69 Yoshihiro Shimoda         2015-11-24  123  MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
4efb2f69 Yoshihiro Shimoda         2015-11-24  124  #endif
4efb2f69 Yoshihiro Shimoda         2015-11-24  125  
3429e91a Sebastian Andrzej Siewior 2012-03-13  126  static int xhci_plat_probe(struct platform_device *pdev)
3429e91a Sebastian Andrzej Siewior 2012-03-13  127  {
20f6fdd0 Pratyush Anand            2014-07-04 @128  	struct device_node	*node = pdev->dev.of_node;
4efb2f69 Yoshihiro Shimoda         2015-11-24  129  	const struct of_device_id *match;
3429e91a Sebastian Andrzej Siewior 2012-03-13  130  	const struct hc_driver	*driver;
3429e91a Sebastian Andrzej Siewior 2012-03-13  131  	struct xhci_hcd		*xhci;
3429e91a Sebastian Andrzej Siewior 2012-03-13  132  	struct resource         *res;
3429e91a Sebastian Andrzej Siewior 2012-03-13  133  	struct usb_hcd		*hcd;
4718c177 Gregory CLEMENT           2014-05-15  134  	struct clk              *clk;
3429e91a Sebastian Andrzej Siewior 2012-03-13  135  	int			ret;
3429e91a Sebastian Andrzej Siewior 2012-03-13  136  	int			irq;

:::::: The code at line 128 was first introduced by commit
:::::: 20f6fdd01c2c0de9cc1109083222edded24c5350 xhci: Platform: Set xhci lpm support quirk based on platform data

:::::: TO: Pratyush Anand <pratyush.anand@xxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
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