net: dsa: microchip: ksz9477: flower: validate control flags
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Thu, 11 Apr 2024 10:52:57 +0000 (10:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2024 09:33:14 +0000 (10:33 +0100)
commitd9a1249e715bb01160965c0b6e0ac03cafd554de
tree564031f088c2e70b571f7e1fe54830d13ee7db95
parentf8a5ea8c2a7f2ad65e0b3f4e5054b9ebfc87c25e
net: dsa: microchip: ksz9477: flower: validate control flags

Add check for unsupported control flags.

Only compile-tested, no access to HW.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz9477_tc_flower.c