[Pdbg] [PATCH 6/7] libpdbg: If device path does not exist, log at INFO level

Amitay Isaacs amitay at ozlabs.org
Tue May 26 15:12:25 AEST 2020


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 libpdbg/kernel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libpdbg/kernel.c b/libpdbg/kernel.c
index 912895a..3dd1262 100644
--- a/libpdbg/kernel.c
+++ b/libpdbg/kernel.c
@@ -183,7 +183,7 @@ int kernel_fsi_probe(struct pdbg_target *target)
 		return 0;
 	}
 
-	PR_ERROR("Unable to open %s\n", path);
+	PR_INFO("Unable to open %s\n", path);
 	free(path);
 	return -1;
 }
@@ -247,7 +247,7 @@ static int kernel_pib_probe(struct pdbg_target *target)
 
 	pib->fd = open(scom_path, O_RDWR | O_SYNC);
 	if (pib->fd < 0) {
-		PR_ERROR("Unable to open %s\n", scom_path);
+		PR_INFO("Unable to open %s\n", scom_path);
 		return -1;
 	}
 
-- 
2.26.2



More information about the Pdbg mailing list