retval = gb_connection_bind_protocol(connection);
if (retval) {
- dev_err(&hd->dev, "%d: failed to bind protocol: %d\n",
- cport_id, retval);
+ dev_err(&hd->dev, "%s: failed to bind protocol: %d\n",
+ connection->name, retval);
gb_connection_destroy(connection);
return NULL;
}
connection->intf_cport_id,
intf->boot_over_unipro);
if (ret) {
- dev_err(&connection->bundle->dev,
- "failed to create svc connection: %d\n", ret);
+ dev_err(&connection->hd->dev,
+ "%s: failed to create svc connection: %d\n",
+ connection->name, ret);
return ret;
}
ret = hd->driver->latency_tag_enable(hd, connection->hd_cport_id);
if (ret) {
- dev_err(&connection->bundle->dev,
- "failed to enable latency tag: %d\n", ret);
+ dev_err(&connection->hd->dev,
+ "%s: failed to enable latency tag: %d\n",
+ connection->name, ret);
}
}
EXPORT_SYMBOL_GPL(gb_connection_latency_tag_enable);
ret = hd->driver->latency_tag_disable(hd, connection->hd_cport_id);
if (ret) {
- dev_err(&connection->bundle->dev,
- "failed to disable latency tag: %d\n", ret);
+ dev_err(&connection->hd->dev,
+ "%s: failed to disable latency tag: %d\n",
+ connection->name, ret);
}
}
EXPORT_SYMBOL_GPL(gb_connection_latency_tag_disable);