[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180118.211153.1117047543945424968.davem@davemloft.net>
Date: Thu, 18 Jan 2018 21:11:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: akpm@...ux-foundation.org
Cc: netdev@...r.kernel.org, jiri@...lanox.com, nogahf@...lanox.com,
yuvalm@...lanox.com
Subject: Re: [patch 1/1] net/sched/sch_prio.c: work around gcc-4.4.4 union
initializer issues
From: akpm@...ux-foundation.org
Date: Thu, 18 Jan 2018 16:30:49 -0800
> From: Andrew Morton <akpm@...ux-foundation.org>
> Subject: net/sched/sch_prio.c: work around gcc-4.4.4 union initializer issues
>
> gcc-4.4.4 has problems witn anon union initializers. Work around this.
>
> net/sched/sch_prio.c: In function 'prio_dump_offload':
> net/sched/sch_prio.c:260: error: unknown field 'stats' specified in initializer
> net/sched/sch_prio.c:260: warning: initialization makes integer from pointer without a cast
> net/sched/sch_prio.c:261: error: unknown field 'stats' specified in initializer
> net/sched/sch_prio.c:261: warning: initialization makes integer from pointer without a cast
>
> Fixes: 7fdb61b44c0c95 ("net: sch: prio: Add offload ability to PRIO qdisc")
> Cc: Nogah Frankel <nogahf@...lanox.com>
> Cc: Yuval Mintz <yuvalm@...lanox.com>
> Cc: Jiri Pirko <jiri@...lanox.com>
> Cc: David S. Miller <davem@...emloft.net>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
Applied, thanks Andrew.
Powered by blists - more mailing lists