* [PATCH] drm/sched/tests: Remove redundant header files
@ 2025-08-19 14:26 Liao Yuanhong
2025-08-19 14:28 ` Tvrtko Ursulin
2025-08-19 16:15 ` Markus Elfring
0 siblings, 2 replies; 6+ messages in thread
From: Liao Yuanhong @ 2025-08-19 14:26 UTC (permalink / raw)
To: Matthew Brost, Danilo Krummrich, Philipp Stanner,
Christian König, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Tvrtko Ursulin,
Maíra Canal, open list:DRM GPU SCHEDULER, open list
Cc: Liao Yuanhong
The header file <linux/atomic.h> is already included on line 8. Remove the
redundant include.
Fixes: 5a99350794fec ("drm/sched: Add scheduler unit testing infrastructure and some basic tests")
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
---
drivers/gpu/drm/scheduler/tests/sched_tests.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/scheduler/tests/sched_tests.h b/drivers/gpu/drm/scheduler/tests/sched_tests.h
index 63d4f2ac7074..e25b8b9b80eb 100644
--- a/drivers/gpu/drm/scheduler/tests/sched_tests.h
+++ b/drivers/gpu/drm/scheduler/tests/sched_tests.h
@@ -11,7 +11,6 @@
#include <linux/hrtimer.h>
#include <linux/ktime.h>
#include <linux/list.h>
-#include <linux/atomic.h>
#include <linux/mutex.h>
#include <linux/types.h>
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sched/tests: Remove redundant header files
2025-08-19 14:26 [PATCH] drm/sched/tests: Remove redundant header files Liao Yuanhong
@ 2025-08-19 14:28 ` Tvrtko Ursulin
2025-08-19 16:15 ` Markus Elfring
1 sibling, 0 replies; 6+ messages in thread
From: Tvrtko Ursulin @ 2025-08-19 14:28 UTC (permalink / raw)
To: Liao Yuanhong, Matthew Brost, Danilo Krummrich, Philipp Stanner,
Christian König, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Maíra Canal,
open list:DRM GPU SCHEDULER, open list
On 19/08/2025 15:26, Liao Yuanhong wrote:
> The header file <linux/atomic.h> is already included on line 8. Remove the
> redundant include.
>
> Fixes: 5a99350794fec ("drm/sched: Add scheduler unit testing infrastructure and some basic tests")
> Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
> ---
> drivers/gpu/drm/scheduler/tests/sched_tests.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/scheduler/tests/sched_tests.h b/drivers/gpu/drm/scheduler/tests/sched_tests.h
> index 63d4f2ac7074..e25b8b9b80eb 100644
> --- a/drivers/gpu/drm/scheduler/tests/sched_tests.h
> +++ b/drivers/gpu/drm/scheduler/tests/sched_tests.h
> @@ -11,7 +11,6 @@
> #include <linux/hrtimer.h>
> #include <linux/ktime.h>
> #include <linux/list.h>
> -#include <linux/atomic.h>
> #include <linux/mutex.h>
> #include <linux/types.h>
>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Regards,
Tvrtko
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sched/tests: Remove redundant header files
2025-08-19 14:26 [PATCH] drm/sched/tests: Remove redundant header files Liao Yuanhong
2025-08-19 14:28 ` Tvrtko Ursulin
@ 2025-08-19 16:15 ` Markus Elfring
2025-08-25 10:25 ` Philipp Stanner
1 sibling, 1 reply; 6+ messages in thread
From: Markus Elfring @ 2025-08-19 16:15 UTC (permalink / raw)
To: Liao Yuanhong, dri-devel
Cc: LKML, Christian König, Danilo Krummrich, David Airlie,
Maarten Lankhorst, Maíra Canal, Matthew Brost, Maxime Ripard,
Philipp Stanner, Simona Vetter, Thomas Zimmermann, Tvrtko Ursulin
> The header file <linux/atomic.h> is already included on line 8. Remove the
> redundant include.
You would like to omit a duplicate #include directive, don't you?
Will a corresponding refinement become helpful for the summary phrase
and change description?
Regards,
Markus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/sched/tests: Remove redundant header files
2025-08-19 16:15 ` Markus Elfring
@ 2025-08-25 10:25 ` Philipp Stanner
2025-08-25 10:48 ` Markus Elfring
0 siblings, 1 reply; 6+ messages in thread
From: Philipp Stanner @ 2025-08-25 10:25 UTC (permalink / raw)
To: Markus Elfring, Liao Yuanhong, dri-devel
Cc: LKML, Christian König, Danilo Krummrich, David Airlie,
Maarten Lankhorst, Maíra Canal, Matthew Brost, Maxime Ripard,
Philipp Stanner, Simona Vetter, Thomas Zimmermann, Tvrtko Ursulin
On Tue, 2025-08-19 at 18:15 +0200, Markus Elfring wrote:
> > The header file <linux/atomic.h> is already included on line 8. Remove the
> > redundant include.
>
> You would like to omit a duplicate #include directive, don't you?
> Will a corresponding refinement become helpful for the summary phrase
> and change description?
I don't understand what you mean. Can you elaborate?
Both patch content and description are completely fine as far as I'm
concerned.
P.
>
> Regards,
> Markus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: drm/sched/tests: Remove redundant header files
2025-08-25 10:25 ` Philipp Stanner
@ 2025-08-25 10:48 ` Markus Elfring
2025-08-28 8:15 ` Philipp Stanner
0 siblings, 1 reply; 6+ messages in thread
From: Markus Elfring @ 2025-08-25 10:48 UTC (permalink / raw)
To: Philipp Stanner, Liao Yuanhong, dri-devel
Cc: LKML, Christian König, Danilo Krummrich, David Airlie,
Maarten Lankhorst, Maíra Canal, Matthew Brost, Maxime Ripard,
Simona Vetter, Thomas Zimmermann, Tvrtko Ursulin
>>> The header file <linux/atomic.h> is already included on line 8. Remove the
>>> redundant include.
>>
>> You would like to omit a duplicate #include directive, don't you?
The change intention is probably clear.
>> Will a corresponding refinement become helpful for the summary phrase
>> and change description?
>
> I don't understand what you mean. Can you elaborate?
>
> Both patch content and description are completely fine as far as I'm concerned.
How do you think about to distinguish better between the deletion of header files
and an adjustment for a repeated preprocessor directive?
Regards,
Markus
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: drm/sched/tests: Remove redundant header files
2025-08-25 10:48 ` Markus Elfring
@ 2025-08-28 8:15 ` Philipp Stanner
0 siblings, 0 replies; 6+ messages in thread
From: Philipp Stanner @ 2025-08-28 8:15 UTC (permalink / raw)
To: Markus Elfring, Philipp Stanner, Liao Yuanhong, dri-devel
Cc: LKML, Christian König, Danilo Krummrich, David Airlie,
Maarten Lankhorst, Maíra Canal, Matthew Brost, Maxime Ripard,
Simona Vetter, Thomas Zimmermann, Tvrtko Ursulin
On Mon, 2025-08-25 at 12:48 +0200, Markus Elfring wrote:
> > > > The header file <linux/atomic.h> is already included on line 8. Remove the
> > > > redundant include.
> > >
> > > You would like to omit a duplicate #include directive, don't you?
>
> The change intention is probably clear.
>
>
> > > Will a corresponding refinement become helpful for the summary phrase
> > > and change description?
> >
> > I don't understand what you mean. Can you elaborate?
> >
> > Both patch content and description are completely fine as far as I'm concerned.
>
> How do you think about to distinguish better between the deletion of header files
> and an adjustment for a repeated preprocessor directive?
The patch is very trivial and the commit message is perfectly fine.
Applied it to drm-misc-next
Thx
P.
>
> Regards,
> Markus
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-08-28 8:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 14:26 [PATCH] drm/sched/tests: Remove redundant header files Liao Yuanhong
2025-08-19 14:28 ` Tvrtko Ursulin
2025-08-19 16:15 ` Markus Elfring
2025-08-25 10:25 ` Philipp Stanner
2025-08-25 10:48 ` Markus Elfring
2025-08-28 8:15 ` Philipp Stanner
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).