On 4/17/2019 7:31 PM, Andrew Lunn wrote: > A later patch will create a linked list of tag driver ops structures, > using a list_head in the structure. So the structure cannot be const. Can't we encapsulate the existing dsa_device_ops, while leaving them const into another structure which is not const? Similar to how we did with the dsa_switch_driver structure? -- Florian
- [PATCH net-next 00/15] Make DSA tag drivers kernel module... Andrew Lunn
- [PATCH net-next 06/15] dsa: Remove const from tag dr... Andrew Lunn
- Re: [PATCH net-next 06/15] dsa: Remove const fro... Florian Fainelli
- Re: [PATCH net-next 06/15] dsa: Remove const... Andrew Lunn
- Re: [PATCH net-next 06/15] dsa: Remove c... Florian Fainelli
- [PATCH net-next 10/15] dsa: Rename dsa_resolve_tag_p... Andrew Lunn
- Re: [PATCH net-next 10/15] dsa: Rename dsa_resol... Florian Fainelli
- [PATCH net-next 04/15] dsa: Add MODULE_LICENSE to ta... Andrew Lunn
- Re: [PATCH net-next 04/15] dsa: Add MODULE_LICEN... Florian Fainelli
- [PATCH net-next 08/15] dsa: Keep link list of tag dr... Andrew Lunn
- Re: [PATCH net-next 08/15] dsa: Keep link list o... David Miller
- Re: [PATCH net-next 08/15] dsa: Keep link list o... Sergei Shtylyov
- Re: [PATCH net-next 08/15] dsa: Keep link li... Andrew Lunn