diff options
author | Robert Hancock <hancock@sedsystems.ca> | 2019-06-06 16:28:07 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-06 16:24:29 -0700 |
commit | 88a972d74ea9172a156cdffb6bb30fbb4b1e27c6 (patch) | |
tree | eab4d24bd02ec011337ee153d0bc4092347b42fd /certs/system_keyring.c | |
parent | d85f5f3e4eb38300642d2b54c5740b351c0bdcc5 (diff) |
net: axienet: fix MDIO bus naming
The MDIO bus for this driver was being named using the result of
of_address_to_resource on a node which may not have any resource on it,
but the return value of that call was not checked so it was using some
random value in the bus name. Change to name the MDIO bus based on the
resource start of the actual Ethernet register block.
Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs/system_keyring.c')
0 files changed, 0 insertions, 0 deletions