]> Git Repo - linux.git/commitdiff
driver core: fw_devlink: Print full path and name of fwnode
authorSaravana Kannan <[email protected]>
Sat, 25 Feb 2023 06:54:42 +0000 (22:54 -0800)
committerGreg Kroah-Hartman <[email protected]>
Sat, 25 Feb 2023 09:52:02 +0000 (10:52 +0100)
Some of the log messages were printing just the fwnode name. While it's
short, it's not always uniquely identifiable in system. So print the
full path and name to make debugging easier.

Signed-off-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/base/core.c

index 863eb42359dbad358cd9285e7018205963112f0c..6878dfcbf0d60b1a3c0f9d2113fbfcbcc3b4d02c 100644 (file)
@@ -98,7 +98,7 @@ static int __fwnode_link_add(struct fwnode_handle *con,
 
        list_add(&link->s_hook, &sup->consumers);
        list_add(&link->c_hook, &con->suppliers);
-       pr_debug("%pfwP Linked as a fwnode consumer to %pfwP\n",
+       pr_debug("%pfwf Linked as a fwnode consumer to %pfwf\n",
                 con, sup);
 
        return 0;
@@ -122,7 +122,7 @@ int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup)
  */
 static void __fwnode_link_del(struct fwnode_link *link)
 {
-       pr_debug("%pfwP Dropping the fwnode link to %pfwP\n",
+       pr_debug("%pfwf Dropping the fwnode link to %pfwf\n",
                 link->consumer, link->supplier);
        list_del(&link->s_hook);
        list_del(&link->c_hook);
@@ -1062,7 +1062,7 @@ int device_links_check_suppliers(struct device *dev)
                if (!dev_is_best_effort(dev)) {
                        fwnode_ret = -EPROBE_DEFER;
                        dev_err_probe(dev, -EPROBE_DEFER,
-                                   "wait for supplier %pfwP\n", sup_fw);
+                                   "wait for supplier %pfwf\n", sup_fw);
                } else {
                        fwnode_ret = -EAGAIN;
                }
This page took 0.062084 seconds and 4 git commands to generate.