[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171016.212126.2225476616318738346.davem@davemloft.net>
Date: Mon, 16 Oct 2017 21:21:26 +0100 (WEST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: f.fainelli@...il.com, michael.chan@...adcom.com,
sathya.perla@...adcom.com, nicolas.pitre@...aro.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [net-next] net: systemport: add NET_DSA dependency
From: Arnd Bergmann <arnd@...db.de>
Date: Mon, 16 Oct 2017 13:32:36 +0200
> The notifier cause a link error when NET_DSA is a loadable
> module:
>
> drivers/net/ethernet/broadcom/bcmsysport.o: In function `bcm_sysport_remove':
> bcmsysport.c:(.text+0x1582): undefined reference to `unregister_dsa_notifier'
> drivers/net/ethernet/broadcom/bcmsysport.o: In function `bcm_sysport_probe':
> bcmsysport.c:(.text+0x278d): undefined reference to `register_dsa_notifier'
>
> This adds a dependency that forces the systemport driver to be
> a loadable module as well when that happens, but otherwise
> allows it to be built normally when DSA is either built-in or
> completely disabled.
>
> Fixes: d156576362c0 ("net: systemport: Establish lower/upper queue mapping")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Applied, thank you.
Powered by blists - more mailing lists