[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpW_=yMpEVPnpgXNJm8161DUMwx75NP0rMFFU+_Z9GN5WQ@mail.gmail.com>
Date: Tue, 1 Mar 2016 11:29:06 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
john fastabend <john.fastabend@...il.com>,
John Fastabend <john.r.fastabend@...el.com>
Subject: Re: net-next build failure due to 16e5cc64?
On Tue, Mar 1, 2016 at 11:09 AM, Sowmini Varadhan
<sowmini.varadhan@...cle.com> wrote:
> On (03/01/16 10:51), Cong Wang wrote:
>> --- a/net/sched/sch_mqprio.c
>> +++ b/net/sched/sch_mqprio.c
>> @@ -142,7 +142,7 @@ static int mqprio_init(struct Qdisc *sch, struct
>> nlattr *opt)
>> */
>> if (qopt->hw) {
>> struct tc_to_netdev tc = {.type = TC_SETUP_MQPRIO,
>> - .tc = qopt->num_tc};
>> + {.tc = qopt->num_tc} };
>>
>
> this fix works.
>
> The first suggestion had no effect (needs changes to a lot of files
> I suspect).
>
It must work, you just didn't try it hard.
> BTW, I remain surprised that no one else has noticed this. It did not
> take me any effort to reproduce it on an x86.
I think that is probably because most people use newer gcc, at least
I don't see any compile error with gcc 4.9.2.
Powered by blists - more mailing lists