Hi,
David Miller <[email protected]> writes:
> net/dsa/slave.c: In function ‘dsa_slave_port_attr_get’:
> net/dsa/slave.c:349:35: error: ‘struct dsa_switch_tree’ has no member named
> ‘tree’
> attr->u.ppid.id_len = sizeof(dst->tree);
> ^~
> net/dsa/slave.c:350:32: error: ‘struct dsa_switch_tree’ has no member named
> ‘tree’
> memcpy(&attr->u.ppid.id, &dst->tree, attr->u.ppid.id_len);
> ^~
The 'u32 tree' of dsa_switch_tree is now an 'unsigned int index',
as for dsa_switch and dsa_port structures.
Thanks,
Vivien