All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186
@ 2022-08-02  8:55 Patrice Chotard
  2022-08-02  8:55 ` [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32 Patrice Chotard
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Patrice Chotard @ 2022-08-02  8:55 UTC (permalink / raw)
  To: u-boot
  Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Joe Hershberger,
	Peng Fan, Ramon Fried

Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
illegal access.

Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 drivers/net/dwc_eth_qos.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index c1f2391d63..09d95e4bc3 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -1609,6 +1609,7 @@ static struct eqos_ops eqos_tegra186_ops = {
 	.eqos_calibrate_pads = eqos_calibrate_pads_tegra186,
 	.eqos_disable_calibration = eqos_disable_calibration_tegra186,
 	.eqos_set_tx_clk_speed = eqos_set_tx_clk_speed_tegra186,
+	.eqos_get_enetaddr = eqos_null_ops,
 	.eqos_get_tick_clk_rate = eqos_get_tick_clk_rate_tegra186
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32
  2022-08-02  8:55 [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Patrice Chotard
@ 2022-08-02  8:55 ` Patrice Chotard
  2022-08-06 17:45   ` Ramon Fried
  2022-08-08 19:08   ` Tom Rini
  2022-08-06 17:45 ` [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Ramon Fried
  2022-08-08 19:08 ` Tom Rini
  2 siblings, 2 replies; 6+ messages in thread
From: Patrice Chotard @ 2022-08-02  8:55 UTC (permalink / raw)
  To: u-boot
  Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Joe Hershberger,
	Peng Fan, Ramon Fried

Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
illegal access.

Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 drivers/net/dwc_eth_qos.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index 09d95e4bc3..5b2e7cba14 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -1638,6 +1638,7 @@ static struct eqos_ops eqos_stm32_ops = {
 	.eqos_calibrate_pads = eqos_null_ops,
 	.eqos_disable_calibration = eqos_null_ops,
 	.eqos_set_tx_clk_speed = eqos_null_ops,
+	.eqos_get_enetaddr = eqos_null_ops,
 	.eqos_get_tick_clk_rate = eqos_get_tick_clk_rate_stm32
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32
  2022-08-02  8:55 ` [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32 Patrice Chotard
@ 2022-08-06 17:45   ` Ramon Fried
  2022-08-08 19:08   ` Tom Rini
  1 sibling, 0 replies; 6+ messages in thread
From: Ramon Fried @ 2022-08-06 17:45 UTC (permalink / raw)
  To: Patrice Chotard
  Cc: U-Boot Mailing List, Patrick DELAUNAY, U-Boot STM32,
	Joe Hershberger, Peng Fan

On Tue, Aug 2, 2022 at 11:56 AM Patrice Chotard
<patrice.chotard@foss.st.com> wrote:
>
> Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
> illegal access.
>
> Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>  drivers/net/dwc_eth_qos.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
> index 09d95e4bc3..5b2e7cba14 100644
> --- a/drivers/net/dwc_eth_qos.c
> +++ b/drivers/net/dwc_eth_qos.c
> @@ -1638,6 +1638,7 @@ static struct eqos_ops eqos_stm32_ops = {
>         .eqos_calibrate_pads = eqos_null_ops,
>         .eqos_disable_calibration = eqos_null_ops,
>         .eqos_set_tx_clk_speed = eqos_null_ops,
> +       .eqos_get_enetaddr = eqos_null_ops,
>         .eqos_get_tick_clk_rate = eqos_get_tick_clk_rate_stm32
>  };
>
> --
> 2.25.1
>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186
  2022-08-02  8:55 [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Patrice Chotard
  2022-08-02  8:55 ` [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32 Patrice Chotard
@ 2022-08-06 17:45 ` Ramon Fried
  2022-08-08 19:08 ` Tom Rini
  2 siblings, 0 replies; 6+ messages in thread
From: Ramon Fried @ 2022-08-06 17:45 UTC (permalink / raw)
  To: Patrice Chotard
  Cc: U-Boot Mailing List, Patrick DELAUNAY, U-Boot STM32,
	Joe Hershberger, Peng Fan

On Tue, Aug 2, 2022 at 11:56 AM Patrice Chotard
<patrice.chotard@foss.st.com> wrote:
>
> Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
> illegal access.
>
> Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>  drivers/net/dwc_eth_qos.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
> index c1f2391d63..09d95e4bc3 100644
> --- a/drivers/net/dwc_eth_qos.c
> +++ b/drivers/net/dwc_eth_qos.c
> @@ -1609,6 +1609,7 @@ static struct eqos_ops eqos_tegra186_ops = {
>         .eqos_calibrate_pads = eqos_calibrate_pads_tegra186,
>         .eqos_disable_calibration = eqos_disable_calibration_tegra186,
>         .eqos_set_tx_clk_speed = eqos_set_tx_clk_speed_tegra186,
> +       .eqos_get_enetaddr = eqos_null_ops,
>         .eqos_get_tick_clk_rate = eqos_get_tick_clk_rate_tegra186
>  };
>
> --
> 2.25.1
>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186
  2022-08-02  8:55 [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Patrice Chotard
  2022-08-02  8:55 ` [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32 Patrice Chotard
  2022-08-06 17:45 ` [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Ramon Fried
@ 2022-08-08 19:08 ` Tom Rini
  2 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2022-08-08 19:08 UTC (permalink / raw)
  To: Patrice Chotard
  Cc: u-boot, Patrick DELAUNAY, U-Boot STM32, Joe Hershberger,
	Peng Fan, Ramon Fried

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

On Tue, Aug 02, 2022 at 10:55:25AM +0200, Patrice Chotard wrote:

> Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
> illegal access.
> 
> Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32
  2022-08-02  8:55 ` [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32 Patrice Chotard
  2022-08-06 17:45   ` Ramon Fried
@ 2022-08-08 19:08   ` Tom Rini
  1 sibling, 0 replies; 6+ messages in thread
From: Tom Rini @ 2022-08-08 19:08 UTC (permalink / raw)
  To: Patrice Chotard
  Cc: u-boot, Patrick DELAUNAY, U-Boot STM32, Joe Hershberger,
	Peng Fan, Ramon Fried

[-- Attachment #1: Type: text/plain, Size: 413 bytes --]

On Tue, Aug 02, 2022 at 10:55:26AM +0200, Patrice Chotard wrote:

> Add .eqos_get_enetaddr callback defined as eqos_null_ops() to avoid
> illegal access.
> 
> Fixes: a624251461bf ("net: dwc_eth_qos: introduce eqos hook eqos_get_enetaddr")
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-08 19:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02  8:55 [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Patrice Chotard
2022-08-02  8:55 ` [PATCH 2/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for stm32 Patrice Chotard
2022-08-06 17:45   ` Ramon Fried
2022-08-08 19:08   ` Tom Rini
2022-08-06 17:45 ` [PATCH 1/2] net: dwc_eth_qos: Add eqos_get_enetaddr callback for tegra186 Ramon Fried
2022-08-08 19:08 ` Tom Rini

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.