diff options
author | Saravana Kannan <saravanak@google.com> | 2023-02-25 07:41:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-25 10:51:43 +0100 |
commit | 6309872413f14f3d58c13ae4dc85b1a7004b4193 (patch) | |
tree | 2320761d4b0a63f0d8bf0847b31fbabbf400e3fa /drivers/mfd/tps6507x.c | |
parent | driver core: bus: Handle early calls to bus_to_subsys() (diff) | |
download | linux-6309872413f14f3d58c13ae4dc85b1a7004b4193.tar.xz linux-6309872413f14f3d58c13ae4dc85b1a7004b4193.zip |
driver core: fw_devlink: Avoid spurious error message
fw_devlink can sometimes try to create a device link with the consumer
and supplier as the same device. These attempts will fail (correctly),
but are harmless. So, avoid printing an error for these cases. Also, add
more detail to the error message.
Fixes: 3fb16866b51d ("driver core: fw_devlink: Make cycle detection more robust")
Reported-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reported-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20230225064148.274376-1-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/tps6507x.c')
0 files changed, 0 insertions, 0 deletions