net: mv88e6xxx: Fix logical operator instead of bitwise
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Tue, 5 Aug 2025 11:14:14 +0000 (12:14 +0100)
committerJerome Forissier <jerome.forissier@linaro.org>
Mon, 18 Aug 2025 13:47:57 +0000 (15:47 +0200)
commit34bc71f2db6bcd83b718ac9c28c39bd7d788a356
tree78ddd9351df04eb744a5711b8d8febcb2f8e01d4
parentff36afe346777f60c461964de1ab00aa6b2edb95
net: mv88e6xxx: Fix logical operator instead of bitwise

In mv88e6xxx_port_enable when attempting to mask out the previous
settings of two bits a logical operator was used instead of a bitwise
operator. Fix this.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
drivers/net/mv88e6xxx.c