From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [patch 1/1] net/sched/sch_prio.c: work around gcc-4.4.4 union initializer issues Date: Thu, 18 Jan 2018 21:11:53 -0500 (EST) Message-ID: <20180118.211153.1117047543945424968.davem@davemloft.net> References: <5a613c39.I6YhgqiMqaeHZDa2%akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jiri@mellanox.com, nogahf@mellanox.com, yuvalm@mellanox.com To: akpm@linux-foundation.org Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:33774 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbeASCLy (ORCPT ); Thu, 18 Jan 2018 21:11:54 -0500 In-Reply-To: <5a613c39.I6YhgqiMqaeHZDa2%akpm@linux-foundation.org> Sender: netdev-owner@vger.kernel.org List-ID: From: akpm@linux-foundation.org Date: Thu, 18 Jan 2018 16:30:49 -0800 > From: Andrew Morton > 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 > Cc: Yuval Mintz > Cc: Jiri Pirko > Cc: David S. Miller > Signed-off-by: Andrew Morton Applied, thanks Andrew.