2020-08-19 03:01:58

by Wang Hai

[permalink] [raw]
Subject: [PATCH -next] drm/mediatek: remove duplicate include

Remove mtk_drm_ddp.h which is included more than once

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
---
drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
index 040a8f393fe2..a34fd805ce6d 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
@@ -27,7 +27,6 @@

#include "mtk_drm_crtc.h"
#include "mtk_drm_ddp.h"
-#include "mtk_drm_ddp.h"
#include "mtk_drm_ddp_comp.h"
#include "mtk_drm_drv.h"
#include "mtk_drm_gem.h"
--
2.17.1


2020-08-21 00:00:43

by Chun-Kuang Hu

[permalink] [raw]
Subject: Re: [PATCH -next] drm/mediatek: remove duplicate include

Hi, Wang Hai:

Wang Hai <[email protected]> 於 2020年8月19日 週三 上午11:00寫道:
>
> Remove mtk_drm_ddp.h which is included more than once
>

Reviewed-by: Chun-Kuang Hu <[email protected]>

> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Wang Hai <[email protected]>
> ---
> drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> index 040a8f393fe2..a34fd805ce6d 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> @@ -27,7 +27,6 @@
>
> #include "mtk_drm_crtc.h"
> #include "mtk_drm_ddp.h"
> -#include "mtk_drm_ddp.h"
> #include "mtk_drm_ddp_comp.h"
> #include "mtk_drm_drv.h"
> #include "mtk_drm_gem.h"
> --
> 2.17.1
>

2020-08-26 23:07:11

by Chun-Kuang Hu

[permalink] [raw]
Subject: Re: [PATCH -next] drm/mediatek: remove duplicate include

Hi, Wang Hai:

Chun-Kuang Hu <[email protected]> 於 2020年8月21日 週五 上午7:23寫道:
>
> Hi, Wang Hai:
>
> Wang Hai <[email protected]> 於 2020年8月19日 週三 上午11:00寫道:
> >
> > Remove mtk_drm_ddp.h which is included more than once
> >
>
> Reviewed-by: Chun-Kuang Hu <[email protected]>
>

Applied to mediatek-drm-fixes [1], thanks.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-fixes

Regards,
Chun-Kuang.

> > Reported-by: Hulk Robot <[email protected]>
> > Signed-off-by: Wang Hai <[email protected]>
> > ---
> > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> > index 040a8f393fe2..a34fd805ce6d 100644
> > --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> > +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c
> > @@ -27,7 +27,6 @@
> >
> > #include "mtk_drm_crtc.h"
> > #include "mtk_drm_ddp.h"
> > -#include "mtk_drm_ddp.h"
> > #include "mtk_drm_ddp_comp.h"
> > #include "mtk_drm_drv.h"
> > #include "mtk_drm_gem.h"
> > --
> > 2.17.1
> >