All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: Nicolas Dichtel <nicolas.dichtel@6wind.com>, shemminger@vyatta.com
Cc: netdev@vger.kernel.org, Julien Floret <julien.floret@6wind.com>
Subject: Re: [PATCH iproute2] tc: fix compilation with old gcc (< 4.6)
Date: Thu, 07 Jan 2016 14:56:55 +0100	[thread overview]
Message-ID: <568E6EA7.6080304@iogearbox.net> (raw)
In-Reply-To: <568E68B2.2040102@iogearbox.net>

On 01/07/2016 02:31 PM, Daniel Borkmann wrote:
> On 01/07/2016 02:03 PM, Nicolas Dichtel wrote:
>> From: Julien Floret <julien.floret@6wind.com>
>>
>> gcc < 4.6 does not handle C11 syntax for the static initialization of
>> anonymous struct/union, hence the following error:
>>
>> tc_bpf.c:260: error: unknown field map_type specified in initializer
>>
>> Signed-off-by: Julien Floret <julien.floret@6wind.com>
>> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
>
> Thanks!
>
> Acked-by: Daniel Borkmann <daniel@iogearbox.net>

Btw, for iproute2's net-next branch there're couple of other occasions
as well. Stephen, how do you prefer to handle this? Should a separate
patch be done against net-next branch to reduce merge conflicts?

  reply	other threads:[~2016-01-07 13:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07 13:03 [PATCH iproute2] tc: fix compilation with old gcc (< 4.6) Nicolas Dichtel
2016-01-07 13:31 ` Daniel Borkmann
2016-01-07 13:56   ` Daniel Borkmann [this message]
2016-01-07 16:21     ` Nicolas Dichtel
2016-01-11 16:28 ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=568E6EA7.6080304@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=julien.floret@6wind.com \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.dichtel@6wind.com \
    --cc=shemminger@vyatta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.