aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r--drivers/net/loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index bb96409f8c05..8f2262540561 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -195,7 +195,7 @@ static __net_init int loopback_net_init(struct net *net)
195 int err; 195 int err;
196 196
197 err = -ENOMEM; 197 err = -ENOMEM;
198 dev = alloc_netdev(0, "lo", loopback_setup); 198 dev = alloc_netdev(0, "lo", NET_NAME_UNKNOWN, loopback_setup);
199 if (!dev) 199 if (!dev)
200 goto out; 200 goto out;
201 201