Commits
Xiaoliang Yang committed bb849431a97
net: dsa: ocelot: alloc memory for dsa switch instance The dsa switch instance hasn't alloc memory for switch ports in felix initialization driver, which will cause NULL pointer issue. Using dsa_switch_alloc to alloc memory for dsa switch instance. Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>