diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index a1917025e155bab3c96f9995594667c1383562f3..46ae4dee522ada29112abea5ecc49a2d40f1394f 100644 --- a/net/dsa/dsa2.c +++ b/net/dsa/dsa2.c @@ -49,7 +49,7 @@ static struct dsa_switch_tree *dsa_tree_alloc(int index) dst->index = index; INIT_LIST_HEAD(&dst->list); - list_add_tail(&dsa_tree_list, &dst->list); + list_add_tail(&dst->list, &dsa_tree_list); kref_init(&dst->refcount);