cxl: Rework error message for incompatible slots
[linux-2.6-block.git] / drivers / misc / cxl / pci.c
index 25a9dd9c0c1b5ad6b52bb3b3c262e126066ff9a7..2ba899f5659ff46f060384dab247147e74376de5 100644 (file)
@@ -393,8 +393,8 @@ int cxl_calc_capp_routing(struct pci_dev *dev, u64 *chipid,
        *capp_unit_id = get_capp_unit_id(np, *phb_index);
        of_node_put(np);
        if (!*capp_unit_id) {
-               pr_err("cxl: invalid capp unit id (phb_index: %d)\n",
-                      *phb_index);
+               pr_err("cxl: No capp unit found for PHB[%lld,%d]. Make sure the adapter is on a capi-compatible slot\n",
+                      *chipid, *phb_index);
                return -ENODEV;
        }