git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbca681
)
drivers/net/airoha_eth: add missing terminator for compatible devices list
author
Mikhail Kshevetskiy
<mikhail.kshevetskiy@iopsys.eu>
Wed, 9 Jul 2025 09:28:07 +0000
(12:28 +0300)
committer
Tom Rini
<trini@konsulko.com>
Tue, 15 Jul 2025 15:56:01 +0000
(09:56 -0600)
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 <mikhail.kshevetskiy@iopsys.eu>
drivers/net/airoha_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/airoha_eth.c
b/drivers/net/airoha_eth.c
index
7e35e1f
..
2aa42b3
100644
(file)
--- 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 = {