[MLX4] improved debug print. [mlnx: 4342]
[mirror/winof/.git] / hw / mlx4 / kernel / bus / core / cache.c
index 8608349..75da405 100644 (file)
@@ -241,8 +241,8 @@ static void ib_cache_update(struct ib_device *device,
 
        ret = ib_query_port(device, port, tprops);
        if (ret) {
-               printk(KERN_WARNING "ib_query_port failed (%d) for %s\n",
-                      ret, device->name);
+               printk(KERN_WARNING "ib_query_port failed (%d) for %s. port_num %d (%d,%d)\n",
+                       ret, device->name, (int)port, start_port(device), end_port(device) );
                goto err;
        }