Commit 298c2af4 authored by Saravana Kannan's avatar Saravana Kannan Committed by Greg Kroah-Hartman
Browse files

drivers: core: fw_devlink: Make the error message a bit more useful

parent 74ffe43b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2173,8 +2173,8 @@ static int fw_devlink_create_devlink(struct device *con,
		}

		if (con != sup_dev && !device_link_add(con, sup_dev, flags)) {
			dev_err(con, "Failed to create device link (0x%x) with %s\n",
				flags, dev_name(sup_dev));
			dev_err(con, "Failed to create device link (0x%x) with supplier %s for %pfwf\n",
				flags, dev_name(sup_dev), link->consumer);
			ret = -EINVAL;
		}