* [Nouveau] [PATCH linux-next] drm/nouveau/nvenc: remove duplicate include in base.c
@ 2021-08-07 3:20 cgel.zte
2021-09-28 10:58 ` Karol Herbst
0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2021-08-07 3:20 UTC (permalink / raw)
To: bskeggs; +Cc: yong.yiran, nouveau, linux-kernel, Zeal Robot
From: yong yiran <yong.yiran@zte.com.cn>
'priv.h' included in 'base.c' is duplicated.
Remove all but the first include of priv.h from base.c.
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: yong yiran <yong.yiran@zte.com.cn>
---
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
index c39e797dc7c9..cf5dcfda7b25 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
@@ -21,7 +21,6 @@
*/
#include "priv.h"
-#include "priv.h"
#include <core/firmware.h>
static void *
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Nouveau] [PATCH linux-next] drm/nouveau/nvenc: remove duplicate include in base.c
2021-08-07 3:20 [Nouveau] [PATCH linux-next] drm/nouveau/nvenc: remove duplicate include in base.c cgel.zte
@ 2021-09-28 10:58 ` Karol Herbst
0 siblings, 0 replies; 2+ messages in thread
From: Karol Herbst @ 2021-09-28 10:58 UTC (permalink / raw)
To: cgel.zte; +Cc: Ben Skeggs, yong.yiran, nouveau, LKML, Zeal Robot
Reviewed-by: Karol Herbst <kherbst@redhat.com>
and picked
On Mon, Aug 9, 2021 at 12:14 AM <cgel.zte@gmail.com> wrote:
>
> From: yong yiran <yong.yiran@zte.com.cn>
>
> 'priv.h' included in 'base.c' is duplicated.
> Remove all but the first include of priv.h from base.c.
>
> Reported-by: Zeal Robot <zealci@zte.com.cn>
> Signed-off-by: yong yiran <yong.yiran@zte.com.cn>
> ---
> drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
> index c39e797dc7c9..cf5dcfda7b25 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
> @@ -21,7 +21,6 @@
> */
> #include "priv.h"
>
> -#include "priv.h"
> #include <core/firmware.h>
>
> static void *
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-28 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-07 3:20 [Nouveau] [PATCH linux-next] drm/nouveau/nvenc: remove duplicate include in base.c cgel.zte
2021-09-28 10:58 ` Karol Herbst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).