[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191028.163417.1094349367022411108.davem@davemloft.net>
Date: Mon, 28 Oct 2019 16:34:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: olteanv@...il.com, andrew@...n.ch, vivien.didelot@...il.com,
f.fainelli@...il.com, maowenan@...wei.com,
jakub.kicinski@...ronome.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: dsa: sja1105: improve NET_DSA_SJA1105_TAS
dependency
From: Arnd Bergmann <arnd@...db.de>
Date: Fri, 25 Oct 2019 09:26:35 +0200
> An earlier bugfix introduced a dependency on CONFIG_NET_SCH_TAPRIO,
> but this missed the case of NET_SCH_TAPRIO=m and NET_DSA_SJA1105=y,
> which still causes a link error:
>
> drivers/net/dsa/sja1105/sja1105_tas.o: In function `sja1105_setup_tc_taprio':
> sja1105_tas.c:(.text+0x5c): undefined reference to `taprio_offload_free'
> sja1105_tas.c:(.text+0x3b4): undefined reference to `taprio_offload_get'
> drivers/net/dsa/sja1105/sja1105_tas.o: In function `sja1105_tas_teardown':
> sja1105_tas.c:(.text+0x6ec): undefined reference to `taprio_offload_free'
>
> Change the dependency to only allow selecting the TAS code when it
> can link against the taprio code.
>
> Fixes: a8d570de0cc6 ("net: dsa: sja1105: Add dependency for NET_DSA_SJA1105_TAS")
> Fixes: 317ab5b86c8e ("net: dsa: sja1105: Configure the Time-Aware Scheduler via tc-taprio offload")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied, thanks Arnd.
Powered by blists - more mailing lists