Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Aug 2016 11:26:11 +0000 (07:26 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Aug 2016 11:26:11 +0000 (07:26 -0400)
Pull networking fixes from David Miller:

 1) Fix several cases of missing of_node_put() calls in various
    networking drivers.  From Peter Chen.

 2) Don't try to remove unconfigured VLANs in qed driver, from Yuval
    Mintz.

 3) Unbalanced locking in TIPC error handling, from Wei Yongjun.

 4) Fix lockups in CPDMA driver, from Grygorii Strashko.

 5) More MACSEC refcount et al fixes, from Sabrina Dubroca.

 6) Fix MAC address setting in r8169 during runtime suspend, from
    Chun-Hao Lin.

 7) Various printf format specifier fixes, from Heinrich Schuchardt.

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (59 commits)
  qed: Fail driver load in 100g MSI mode.
  ethernet: ti: davinci_emac: add missing of_node_put after calling of_parse_phandle
  ethernet: stmicro: stmmac: add missing of_node_put after calling of_parse_phandle
  ethernet: stmicro: stmmac: dwmac-socfpga: add missing of_node_put after calling of_parse_phandle
  ethernet: renesas: sh_eth: add missing of_node_put after calling of_parse_phandle
  ethernet: renesas: ravb_main: add missing of_node_put after calling of_parse_phandle
  ethernet: marvell: pxa168_eth: add missing of_node_put after calling of_parse_phandle
  ethernet: marvell: mvpp2: add missing of_node_put after calling of_parse_phandle
  ethernet: marvell: mvneta: add missing of_node_put after calling of_parse_phandle
  ethernet: hisilicon: hns: hns_dsaf_main: add missing of_node_put after calling of_parse_phandle
  ethernet: hisilicon: hns: hns_dsaf_mac: add missing of_node_put after calling of_parse_phandle
  ethernet: cavium: octeon: add missing of_node_put after calling of_parse_phandle
  ethernet: aurora: nb8800: add missing of_node_put after calling of_parse_phandle
  ethernet: arc: emac_main: add missing of_node_put after calling of_parse_phandle
  ethernet: apm: xgene: add missing of_node_put after calling of_parse_phandle
  ethernet: altera: add missing of_node_put
  8139too: fix system hang when there is a tx timeout event.
  qed: Fix error return code in qed_resc_alloc()
  net: qlcnic: avoid superfluous assignement
  dsa: b53: remove redundant if
  ...

1  2 
arch/arm/mach-omap2/omap_device.c

index c2626f83e0c22542f6fc1aaeffde238d02940584,208f115630360c36ce52891c13ec68f25f5d56f9..e920dd83e443753ccced325ce19c48c6bca398c6
@@@ -63,22 -63,7 +63,22 @@@ static void _add_clkdev(struct omap_dev
                return;
        }
  
 -      rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev), clk_name, NULL);
 +      r = clk_get_sys(NULL, clk_name);
 +
 +      if (IS_ERR(r) && of_have_populated_dt()) {
 +              struct of_phandle_args clkspec;
 +
 +              clkspec.np = of_find_node_by_name(NULL, clk_name);
 +
 +              r = of_clk_get_from_provider(&clkspec);
 +
 +              rc = clk_register_clkdev(r, clk_alias,
 +                                       dev_name(&od->pdev->dev));
 +      } else {
 +              rc = clk_add_alias(clk_alias, dev_name(&od->pdev->dev),
 +                                 clk_name, NULL);
 +      }
 +
        if (rc) {
                if (rc == -ENODEV || rc == -ENOMEM)
                        dev_err(&od->pdev->dev,
@@@ -209,7 -194,7 +209,7 @@@ static int _omap_device_notifier_call(s
        int err;
  
        switch (event) {
-       case BUS_NOTIFY_DEL_DEVICE:
+       case BUS_NOTIFY_REMOVED_DEVICE:
                if (pdev->archdata.od)
                        omap_device_delete(pdev->archdata.od);
                break;
@@@ -283,7 -268,7 +283,7 @@@ static int _omap_device_idle_hwmods(str
   * function returns a value different than the value the caller got
   * the last time it called this function.
   *
 - * If any hwmods exist for the omap_device assoiated with @pdev,
 + * If any hwmods exist for the omap_device associated with @pdev,
   * return the context loss counter for that hwmod, otherwise return
   * zero.
   */
This page took 0.031097 seconds and 5 git commands to generate.