diff mbox series

libpdbg: Change message regarding missing system-path target

Message ID 20200520070812.383293-1-amitay@ozlabs.org
State Accepted
Headers show
Series libpdbg: Change message regarding missing system-path target | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (89c15463d43d15bf7a33e0fcbbcdf84970ad3d4a)
snowpatch_ozlabs/build-multiarch success Test build-multiarch on branch master

Commit Message

Amitay Isaacs May 20, 2020, 7:08 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 libpdbg/device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alistair Popple May 20, 2020, 7:14 a.m. UTC | #1
Looks good, thanks.

Reviewed-by: Alistair Popple <alistair@popple.id.au>

On Wednesday, 20 May 2020 5:08:12 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
> ---
>  libpdbg/device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libpdbg/device.c b/libpdbg/device.c
> index 4665dce..d5ed1d3 100644
> --- a/libpdbg/device.c
> +++ b/libpdbg/device.c
> @@ -630,7 +630,7 @@ static struct pdbg_target *dt_new_virtual(struct
> pdbg_target *root, const char *
> 
>  	parent = dt_find_by_path(root, parent_path);
>  	if (!parent) {
> -		PR_ERROR("Invalid path reference \"%s\"\n", system_path);
> +		PR_INFO("Path reference \"%s\" not found, ignoring\n", system_path);
>  		free(parent_path);
>  		return NULL;
>  	}
diff mbox series

Patch

diff --git a/libpdbg/device.c b/libpdbg/device.c
index 4665dce..d5ed1d3 100644
--- a/libpdbg/device.c
+++ b/libpdbg/device.c
@@ -630,7 +630,7 @@  static struct pdbg_target *dt_new_virtual(struct pdbg_target *root, const char *
 
 	parent = dt_find_by_path(root, parent_path);
 	if (!parent) {
-		PR_ERROR("Invalid path reference \"%s\"\n", system_path);
+		PR_INFO("Path reference \"%s\" not found, ignoring\n", system_path);
 		free(parent_path);
 		return NULL;
 	}