[PATCH v2 0/2] driver core: Avoid false-positive errors for intentionally skipped links

From: Nícolas F. R. A. Prado
Date: Tue Oct 15 2024 - 17:28:00 EST


This series gets rid of the false-positive errors printed when device
links are intentionally skipped. Patch 1 commonizes the logic into a
helper and patch 2 uses that to remove the error.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>
---
Changes in v2:
- Added patch 1 introducing the device_link_is_useless() helper and used
that in patch 2
- Link to v1: https://lore.kernel.org/r/20240624-fwdevlink-probed-no-err-v1-1-d1213cd354e2@xxxxxxxxxxxxx

---
Nícolas F. R. A. Prado (2):
driver core: Create device_link_is_useless() helper
driver core: Don't log intentional skip of device link creation as error

drivers/base/core.c | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
---
base-commit: 6708132e80a2ced620bde9b9c36e426183544a23
change-id: 20240624-fwdevlink-probed-no-err-45d21feb05fd

Best regards,
--
Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>