summaryrefslogtreecommitdiff
path: root/include/linux/mii.h
diff options
context:
space:
mode:
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>2019-11-29 15:48:20 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-12-02 18:04:48 +0800
commitbb849431a970cf8494f718ac630c2f93e6891b78 (patch)
tree64a06d2eb55cc552e125224d8fea1f243a125608 /include/linux/mii.h
parenteca0b86bb007adc0d571abd763c220cd631580b8 (diff)
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>
Diffstat (limited to 'include/linux/mii.h')
0 files changed, 0 insertions, 0 deletions