diff options
author | Xiaoliang Yang <xiaoliang.yang_1@nxp.com> | 2019-11-29 15:48:20 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-12-02 18:04:48 +0800 |
commit | bb849431a970cf8494f718ac630c2f93e6891b78 (patch) | |
tree | 64a06d2eb55cc552e125224d8fea1f243a125608 /include/linux/mii.h | |
parent | eca0b86bb007adc0d571abd763c220cd631580b8 (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