[PATCH 5.10 133/201] net: dsa: fix value check in bcm_sf2_sw_probe()