aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2022-02-22 19:16:52 +0200
committerDavid S. Miller <[email protected]>2022-02-23 12:38:16 +0000
commitc035ea76c4e79dca72f31e0676c81b2937d6f0a3 (patch)
tree66988553fd429c189263236210ec9abb196df24b /include/linux/debugobjects.h
parent8d783197f06d905e5e7a89342e815ef5aeaa1731 (diff)
mlxsw: core: Prevent trap group setting if driver does not support EMAD
Avoid trap group setting if driver is not capable of EMAD support. For example, "mlxsw_minimal" driver works over I2C bus, overs which EMADs cannot be sent. Validation is performed by testing feature 'MLXSW_BUS_F_TXRX'. Fixes: 74e0494d35ac ("mlxsw: core: Move basic_trap_groups_set() call out of EMAD init code") Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions