diff options
| author | Clément Léger <[email protected]> | 2022-06-24 16:39:46 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-06-27 11:37:54 +0100 |
| commit | 1c6e8088d9a74674b4017f8d2090ca9a314954b7 (patch) | |
| tree | 519ba97f1b7bd0df589389175dccdd1580b834dd /include/linux/debugobjects.h | |
| parent | ebeae54d3a77e2f6b6b4e18a31bb9a0f7cbff238 (diff) | |
net: dsa: allow port_bridge_join() to override extack message
Some drivers might report that they are unable to bridge ports by
returning -EOPNOTSUPP, but still wants to override extack message.
In order to do so, in dsa_slave_changeupper(), if port_bridge_join()
returns -EOPNOTSUPP, check if extack message is set and if so, do not
override it.
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions