c2255ff477
The failure to register devlink will leave the system with dangled
devlink resource, which is not cleaned if devlink_port_register() fails.
In order to remove access to ".registered" field of struct devlink_port,
require both devlink_register and devlink_port_register to success and
check it through device pointer.
Fixes:
|
||
---|---|---|
.. | ||
ionic | ||
Kconfig | ||
Makefile |