]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/bluetooth/hci_sysfs.c
nvme: fix possible deadlock when nvme_update_formats fails
[linux.git] / net / bluetooth / hci_sysfs.c
index d5c7c89ec4d632a37cb06b275106286945199b96..9874844a95a98cc3497dbab8379be536b02bd8a9 100644 (file)
@@ -51,7 +51,7 @@ void hci_conn_add_sysfs(struct hci_conn *conn)
        dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle);
 
        if (device_add(&conn->dev) < 0) {
-               BT_ERR("Failed to register connection device");
+               bt_dev_err(hdev, "failed to register connection device");
                return;
        }