Skip to content

driver core: Avoid false-positive errors for intentionally skipped links

Nícolas F. R. A. Prado lkml 2 versions – In review

Get series with b4
b4 am [email protected] change-id 20240624-fwdevlink-probed-no-err-45d21feb05fd

Versions newest first

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 11 repliesSuperseded

Changes in v2 from the cover letter

- Added patch 1 introducing the device_link_is_useless() helper and used
that in patch 2
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2driver core: Create device_link_is_useless() helperdrivers/base/core.c+14 -70 replies
2/2driver core: Don't log intentional skip of device link creation as errordrivers/base/core.c+5 -21 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJon Hunter
SeriesR-b T-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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.

---
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/[email protected]

---
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,

Signature · 1 line
Nícolas F. R. A. Prado <[email protected]>