diff options
| author | 2012-06-20 16:24:02 -0700 | |
|---|---|---|
| committer | 2012-06-20 16:24:02 -0700 | |
| commit | ff446f2001cf9b5ed97c6256c4ee3549d3b7abed (patch) | |
| tree | ec5fd60a8b9c21ae85eaa99003f26e6c342e2234 /drivers/net/dummy.c | |
| parent | USB: ohci-nxp: add usbd and otg clock initialization (diff) | |
| parent | Linux 3.5-rc3 (diff) | |
| download | linux-dev-ff446f2001cf9b5ed97c6256c4ee3549d3b7abed.tar.xz linux-dev-ff446f2001cf9b5ed97c6256c4ee3549d3b7abed.zip | |
Merge 3.5-rc3 into usb-next
This lets us catch the USB fixes that went into 3.5-rc3 into this branch,
as we want them here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/dummy.c')
| -rw-r--r-- | drivers/net/dummy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index 442d91a2747b..bab0158f1cc3 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c @@ -187,8 +187,10 @@ static int __init dummy_init_module(void) rtnl_lock(); err = __rtnl_link_register(&dummy_link_ops); - for (i = 0; i < numdummies && !err; i++) + for (i = 0; i < numdummies && !err; i++) { err = dummy_init_one(); + cond_resched(); + } if (err < 0) __rtnl_link_unregister(&dummy_link_ops); rtnl_unlock(); |
