Return immediately on bundle-init failure when processing SVC link up.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
ret = gb_bundle_init(intf,
management->link_up.interface_id,
management->link_up.device_id);
- if (ret)
+ if (ret) {
dev_err(hd->parent,
"error %d initializing interface %hhu bundle %hhu\n",
ret, management->link_up.module_id,
management->link_up.interface_id);
+ return;
+ }
break;
default:
dev_err(hd->parent, "Unhandled UniPro management message\n");