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

From: Jon Hunter
Date: Wed Oct 16 2024 - 07:20:05 EST



On 15/10/2024 22:27, Nícolas F. R. A. Prado wrote:
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(-)


Looks good to me. For the series ...

Reviewed-by: Jon Hunter <jonathanh@xxxxxxxxxx>
Tested-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Thanks!
Jon

--
nvpublic