* [PATCH] dpaa2-eth: Fix compile error due to missing devlink support
@ 2020-11-22 0:23 Ezequiel Garcia
2020-11-23 9:39 ` Ioana Ciornei
0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2020-11-22 0:23 UTC (permalink / raw)
To: netdev
Cc: Jakub Kicinski, David S . Miller, Ioana Radulescu, Ioana Ciornei,
Ezequiel Garcia, kernel
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'
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dpaa2-eth: Fix compile error due to missing devlink support
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
2020-11-23 15:06 ` Ezequiel Garcia
0 siblings, 1 reply; 4+ messages in thread
From: Ioana Ciornei @ 2020-11-23 9:39 UTC (permalink / raw)
To: Ezequiel Garcia
Cc: netdev, Jakub Kicinski, David S . Miller, Ioana Ciocoi Radulescu, kernel
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dpaa2-eth: Fix compile error due to missing devlink support
2020-11-23 9:39 ` Ioana Ciornei
@ 2020-11-23 15:06 ` Ezequiel Garcia
2020-11-23 15:15 ` Ioana Ciornei
0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2020-11-23 15:06 UTC (permalink / raw)
To: Ioana Ciornei
Cc: netdev, Jakub Kicinski, David S . Miller, Ioana Ciocoi Radulescu, kernel
Hi Ioana,
On Mon, 2020-11-23 at 09:39 +0000, Ioana Ciornei wrote:
> Hi Ezequiel,
>
> Thanks a lot for the fix, I overlooked this when adding devlink support.
>
No worries :)
> 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?
>
Oops, I forgot about netdev rules. I guess I haven't sent
a net patch in a long time.
This patch is a fix, so I guess it's for the 'net' tree.
> Maybe add a fixes tag and send this towards the net tree?
>
Would you mind too much taking care of this, putting the
Fixes you think matches best?
That would be really appreciated!
Thanks,
Ezequiel
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dpaa2-eth: Fix compile error due to missing devlink support
2020-11-23 15:06 ` Ezequiel Garcia
@ 2020-11-23 15:15 ` Ioana Ciornei
0 siblings, 0 replies; 4+ messages in thread
From: Ioana Ciornei @ 2020-11-23 15:15 UTC (permalink / raw)
To: Ezequiel Garcia
Cc: netdev, Jakub Kicinski, David S . Miller, Ioana Ciocoi Radulescu, kernel
On Mon, Nov 23, 2020 at 12:06:14PM -0300, Ezequiel Garcia wrote:
> Hi Ioana,
>
> On Mon, 2020-11-23 at 09:39 +0000, Ioana Ciornei wrote:
> > Hi Ezequiel,
> >
> > Thanks a lot for the fix, I overlooked this when adding devlink support.
> >
>
> No worries :)
>
> > 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?
> >
>
> Oops, I forgot about netdev rules. I guess I haven't sent
> a net patch in a long time.
>
> This patch is a fix, so I guess it's for the 'net' tree.
>
> > Maybe add a fixes tag and send this towards the net tree?
> >
>
> Would you mind too much taking care of this, putting the
> Fixes you think matches best?
>
> That would be really appreciated!
>
Sure, I'll respin this.
Ioana
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-11-23 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-11-23 15:06 ` Ezequiel Garcia
2020-11-23 15:15 ` Ioana Ciornei
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.