diff options
author | Russell King (Oracle) <[email protected]> | 2023-08-29 14:29:50 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-30 18:32:19 -0700 |
commit | b5947239bfa666afd05ce0fc02b9c41ec8209e88 (patch) | |
tree | d894def95ab431101edfdaed08c69220a4ad1d9a /drivers/platform/surface/aggregator/ssh_parser.c | |
parent | e4da8c78973c1e307c0431e0b99a969ffb8aa3f1 (diff) |
net: stmmac: failure to probe without MAC interface specified
Alexander Stein reports that commit a014c35556b9 ("net: stmmac: clarify
difference between "interface" and "phy_interface"") caused breakage,
because plat->mac_interface will never be negative. Fix this by using
the "rc" temporary variable in stmmac_probe_config_dt().
Reported-by: Alexander Stein <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Tested-by: Alexander Stein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions