On (03/01/16 10:13), Cong Wang wrote: > > net/sched/sch_mqprio.c: In function `mqprio_init': > > net/sched/sch_mqprio.c:145: error: unknown field `tc' specified in > > initializer : > Why not just initialize these fields explicitly? For example, > > + struct tc_to_netdev tc; : > + tc.type = TC_SETUP_MQPRIO;
The compiler error is for fields within the union which lacks both a tag and a union-name. So I'm not sure how the above will help. --Sowmini