Skip to content
Commit a792197f authored by Su Hui's avatar Su Hui Committed by David S. Miller
Browse files

net: dsa: mv88e6xxx: add an error code check in mv88e6352_tai_event_work



mv88e6xxx_tai_write() can return error code (-EOPNOTSUPP ...) if failed.
So check the value of 'ret' after calling mv88e6xxx_tai_write().

Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Reviewed-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ee3d1228
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment