diff options
author | Saravana Kannan <[email protected]> | 2023-02-24 22:41:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-25 10:51:43 +0100 |
commit | 6309872413f14f3d58c13ae4dc85b1a7004b4193 (patch) | |
tree | 2320761d4b0a63f0d8bf0847b31fbabbf400e3fa /lib/test_fortify/write_overflow-strscpy.c | |
parent | e8b812b3e515742a4faaf2e4722bdc5755b98f56 (diff) |
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 <[email protected]>
Reported-by: Dmitry Baryshkov <[email protected]>
Signed-off-by: Saravana Kannan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions