netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ioana Ciornei <ioana.ciornei@nxp.com>
To: Ezequiel Garcia <ezequiel@collabora.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	"David S . Miller" <davem@davemloft.net>,
	Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>,
	"kernel@collabora.com" <kernel@collabora.com>
Subject: Re: [PATCH] dpaa2-eth: Fix compile error due to missing devlink support
Date: Mon, 23 Nov 2020 09:39:28 +0000	[thread overview]
Message-ID: <20201123093928.pfvlpcdssjaxa37d@skbuf> (raw)
In-Reply-To: <20201122002336.79912-1-ezequiel@collabora.com>


Hi Ezequiel,

Thanks a lot for the fix, I overlooked this when adding devlink support.

On Sat, Nov 21, 2020 at 09:23:36PM -0300, Ezequiel Garcia wrote:
> The dpaa2 driver depends on devlink, so it should select
> NET_DEVLINK in order to fix compile errors, such as:
>
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o: in function `dpaa2_eth_rx_err':
> dpaa2-eth.c:(.text+0x3cec): undefined reference to `devlink_trap_report'
> drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-devlink.o: in function `dpaa2_eth_dl_info_get':
> dpaa2-eth-devlink.c:(.text+0x160): undefined reference to `devlink_info_driver_name_put'
>

What tree is this intended for?

Maybe add a fixes tag and send this towards the net tree?

Ioana

> Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
> ---
>  drivers/net/ethernet/freescale/dpaa2/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/freescale/dpaa2/Kconfig b/drivers/net/ethernet/freescale/dpaa2/Kconfig
> index cfd369cf4c8c..aee59ead7250 100644
> --- a/drivers/net/ethernet/freescale/dpaa2/Kconfig
> +++ b/drivers/net/ethernet/freescale/dpaa2/Kconfig
> @@ -2,6 +2,7 @@
>  config FSL_DPAA2_ETH
>       tristate "Freescale DPAA2 Ethernet"
>       depends on FSL_MC_BUS && FSL_MC_DPIO
> +     select NET_DEVLINK
>       select PHYLINK
>       select PCS_LYNX
>       help
> --
> 2.27.0
>

  reply	other threads:[~2020-11-23  9:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-22  0:23 [PATCH] dpaa2-eth: Fix compile error due to missing devlink support Ezequiel Garcia
2020-11-23  9:39 ` Ioana Ciornei [this message]
2020-11-23 15:06   ` Ezequiel Garcia
2020-11-23 15:15     ` Ioana Ciornei

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=20201123093928.pfvlpcdssjaxa37d@skbuf \
    --to=ioana.ciornei@nxp.com \
    --cc=davem@davemloft.net \
    --cc=ezequiel@collabora.com \
    --cc=kernel@collabora.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ruxandra.radulescu@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).