diff options
| author | Mikhail Kshevetskiy <[email protected]> | 2025-07-09 12:28:07 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-15 09:56:01 -0600 |
| commit | 189d0b4477077f0445772d7899d8bd0a17e1f67a (patch) | |
| tree | b921862e9a4384276eed0a65305c72db203fc0b8 | |
| parent | bbca681cde3f0859847bd542e491294fd9d67656 (diff) | |
drivers/net/airoha_eth: add missing terminator for compatible devices list
Compatible device list must have a terminator. If terminator is missed
the u-boot driver subsystem will access random data placed after the
list in the memory.
The issue can be observed with the "dm compat" command.
Signed-off-by: Mikhail Kshevetskiy <[email protected]>
| -rw-r--r-- | drivers/net/airoha_eth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/airoha_eth.c b/drivers/net/airoha_eth.c index 7e35e1fd41d..2aa42b3d727 100644 --- a/drivers/net/airoha_eth.c +++ b/drivers/net/airoha_eth.c @@ -926,6 +926,7 @@ static int arht_eth_write_hwaddr(struct udevice *dev) static const struct udevice_id airoha_eth_ids[] = { { .compatible = "airoha,en7581-eth" }, + { } }; static const struct eth_ops airoha_eth_ops = { |
