[PATCH v1] dm: vdisplay: fix comment typos.


Yu Wang
 

Acked-by: Wang, Yu1 <yu1.wang@...>

On Mon, Jun 13, 2022 at 01:27:13PM +0800, peng.p.sun@... wrote:
From: Sun Peng <peng.p.sun@...>

Fix some typos in output logs.

Tracked-on: #7747
Signed-off-by: Sun Peng <peng.p.sun@...>
---
devicemodel/hw/vdisplay_sdl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devicemodel/hw/vdisplay_sdl.c b/devicemodel/hw/vdisplay_sdl.c
index 1c3eb1efa..077d73189 100644
--- a/devicemodel/hw/vdisplay_sdl.c
+++ b/devicemodel/hw/vdisplay_sdl.c
@@ -1140,7 +1140,7 @@ gfx_ui_init()
setenv("SDL_RENDER_SCALE_QUALITY", "linear", 1);

if (SDL_Init(SDL_INIT_VIDEO)) {
- pr_err("Failed to Init SDL2 system");
+ pr_err("Failed to Init SDL2 system\n");
Init -> init

Acked-by: Wang, Yu1 <yu1.wang@...>

return -1;
}

--
2.25.1


Sun, Peng
 

From: Sun Peng <peng.p.sun@...>

Fix some typos in output logs.

Tracked-on: #7747
Signed-off-by: Sun Peng <peng.p.sun@...>
---
devicemodel/hw/vdisplay_sdl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devicemodel/hw/vdisplay_sdl.c b/devicemodel/hw/vdisplay_sdl.c
index 1c3eb1efa..077d73189 100644
--- a/devicemodel/hw/vdisplay_sdl.c
+++ b/devicemodel/hw/vdisplay_sdl.c
@@ -1140,7 +1140,7 @@ gfx_ui_init()
setenv("SDL_RENDER_SCALE_QUALITY", "linear", 1);

if (SDL_Init(SDL_INIT_VIDEO)) {
- pr_err("Failed to Init SDL2 system");
+ pr_err("Failed to Init SDL2 system\n");
return -1;
}

--
2.25.1