fbdev/simplefb: change loglevel when the power domains cannot be parsed
Subsystems (2)
PATCH 1/1 fbdev/simplefb: change loglevel when the power domains cannot be parsed
When the power domains cannot be parsed, the message is incorrectly logged as an info message. Let's change this to an error since an error is returned.
--- drivers/video/fbdev/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/video/fbdev/simplefb.c +1 -1
@@ -470,7 +470,7 @@ static int simplefb_attach_genpds(struct simplefb_par *par,if (err == -ENOENT )return 0 ; -dev_info (dev,"failed to parse power-domains: %d\n" , err); +dev_err (dev,"failed to parse power-domains: %d\n" , err);return err; }
Signature · 1 line
2.43.0
Quoted 6 lines · Brian Masney
When the power domains cannot be parsed, the message is incorrectly logged as an info message. Let's change this to an error since an error is returned.
Fixes 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains")Signed-off-by Brian Masney <[email protected]>
Quoted 20 lines
--- drivers/video/fbdev/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/video/fbdev/simplefb.c +1
-1@@ -470,7 +470,7 @@ static int simplefb_attach_genpds(struct simplefb_par *par,if (err == -ENOENT )return 0 ; -dev_info (dev,"failed to parse power-domains: %d\n" , err); +dev_err (dev,"failed to parse power-domains: %d\n" , err);return err; }Signature · 1 line
2.43.0
Brian Masney <[email protected]> writes:
Hello Brian,
Quoted 15 lines
When the power domains cannot be parsed, the message is incorrectly logged as an info message. Let's change this to an error since an error is returned.
Fixes 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains")Signed-off-by Brian Masney <[email protected]>--- drivers/video/fbdev/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/video/fbdev/simplefb.c +0
-0
drivers/video/fbdev/simplefb.c static int simplefb_attach_genpds(struct simplefb_par *par, · line 476
Quoted 8 lines
drivers/video/fbdev/simplefb.c +1
-1@@ -470,7 +470,7 @@ static int simplefb_attach_genpds(struct simplefb_par *par,if (err == -ENOENT )return 0 ; -dev_info (dev,"failed to parse power-domains: %d\n" , err); +dev_err (dev,"failed to parse power-domains: %d\n" , err);return err; }
Makes sense to me.
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Quoted 9 lines · Brian Masney
When the power domains cannot be parsed, the message is incorrectly logged as an info message. Let's change this to an error since an error is returned.
Fixes 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains")Signed-off-by Brian Masney <[email protected]>--- drivers/video/fbdev/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Hi,
Quoted 6 lines · Brian Masney
When the power domains cannot be parsed, the message is incorrectly logged as an info message. Let's change this to an error since an error is returned.
Fixes 92a511a568e4 ("fbdev/simplefb: Add support for generic power-domains")Signed-off-by Brian Masney <[email protected]>
Thank you for your patch. I have pushed this to drm-misc-next now.
Regards,
Hans
Quoted 17 lines
--- drivers/video/fbdev/simplefb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/video/fbdev/simplefb.c +1
-1@@ -470,7 +470,7 @@ static int simplefb_attach_genpds(struct simplefb_par *par,if (err == -ENOENT )return 0 ; -dev_info (dev,"failed to parse power-domains: %d\n" , err); +dev_err (dev,"failed to parse power-domains: %d\n" , err);return err; }