summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-05-05 16:25:08 +0200
committerJakub Kicinski <kuba@kernel.org>2026-05-08 19:09:14 -0700
commitaf96c2f08ddb06042ad26debfa4d47b7a9d2089c (patch)
tree2e5095430bde925b1a8fd5e30368477ba6ffb52e /rust/kernel/alloc/kvec/errors.rs
parentadb50fc9960bd2b71503ccc88d3473df2d1f77ff (diff)
net: dsa: microchip: split ksz_get_tag_protocol()
All the switch families use a common function to implement .get_tag_protocol(). This function then returns the relevant protocol depending on the chip ID. Make the protocol to dsa_switch_ops association a little bit more obvious by having separate implementations. Change made by manually checking which chip id has which dsa_switch_ops assigned to it, then filtering the common ksz_get_tag_protocol() for just those chip IDs pertaining to it. As an important benefit, we no longer have that weird-looking DSA_TAG_PROTO_NONE fallback which was never actually returned. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> Link: https://patch.msgid.link/20260505-clean-ksz-driver-v1-8-05d70fa42461@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions