drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
Subsystems (2)
PATCH 1/1 drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
Add an underscore in amdgpu_trace.h line 24 "_AMDGPU_TRACE_H".
--- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +1 -1
@@ -21,7 +21,7 @@* */ -#if !defined(_AMDGPU_TRACE_H) || defined(TRACE_HEADER_MULTI_READ ) +#if !defined(_AMDGPU_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ )#define _AMDGPU_TRACE_H_#include <linux/stringify.h>
Signature · 6 lines
2.29.2 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Dear 李晨阳,
Am 26.12.20 um 09:56 schrieb Chenyang Li:
Quoted 13 lines
Add an underscore in
amdgpu_trace.hline 24 "_AMDGPU_TRACE_H".Fixes d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")Signed-off-by Chenyang Li <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h line 27
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +1
-1@@ -21,7 +21,7 @@* */ -#if !defined(_AMDGPU_TRACE_H) || defined(TRACE_HEADER_MULTI_READ ) +#if !defined(_AMDGPU_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ )#define _AMDGPU_TRACE_H_#include <linux/stringify.h>
Kind regards,
Paul
PS: Next time, for patch iterations, you should include the version in the tag: PATCH v2. The switch -v (--reroll-count) helps with that:
git format-patch -1 -v 2
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Am 26.12.20 um 14:16 schrieb Paul Menzel:
Quoted 7 lines
Dear 李晨阳,
Am 26.12.20 um 09:56 schrieb Chenyang Li:
Quoted 3 lines
Add an underscore in
amdgpu_trace.hline 24 "_AMDGPU_TRACE_H".Fixes d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")
Well this Fixes tag is superfluous/misleading and should probably be removed.
Why was that added?
Christian.
Quoted 25 lines
Quoted 10 lines
Signed-off-by Chenyang Li <[email protected]>---
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +0
-0drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h line 26
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +1
-0@@ -21,7 +21,7 @@* */ -#if !defined(_AMDGPU_TRACE_H) || defined(TRACE_HEADER_MULTI_READ) +#if !defined(_AMDGPU_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ ) #define _AMDGPU_TRACE_H_ #include <linux/stringify.h>Reviewed-by Paul Menzel <[email protected]>Kind regards,
Paul
Quoted 7 lines
PS: Next time, for patch iterations, you should include the version in the tag: PATCH v2. The switch
-v(--reroll-count) helps with that:git format-patch -1 -v 2
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Dear Christian,
Am 27.12.20 um 10:38 schrieb Christian König:
Quoted 8 lines
Am 26.12.20 um 14:16 schrieb Paul Menzel:
Quoted 4 lines
Am 26.12.20 um 09:56 schrieb Chenyang Li:
Quoted 3 lines
Add an underscore in
amdgpu_trace.hline 24 "_AMDGPU_TRACE_H".Fixes d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")Well this Fixes tag is superfluous/misleading and should probably be removed.
Why is it misleading?
Quoted 1 line
Why was that added?
I asked for that, because that is the commit introducing the issue, and with that tag it’s more likely to picked for the stable series.
[…]
Kind regards,
Paul
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Christian König
maintainerAm 27.12.20 um 11:53 schrieb Paul Menzel:
Quoted 6 lines
Dear Christian,
Am 27.12.20 um 10:38 schrieb Christian König:
Quoted 1 line
Am 26.12.20 um 14:16 schrieb Paul Menzel:
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Am 26.12.20 um 09:56 schrieb Chenyang Li:
Quoted 3 lines
Add an underscore in
amdgpu_trace.hline 24 "_AMDGPU_TRACE_H".Fixes d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")Well this Fixes tag is superfluous/misleading and should probably be removed.
Why is it misleading?
The purpose of a Fixes tag is to distinct into which stable sources a patch should be added.
E.g. if somebody maintains a backport which has the originally buggy patch then he can figure out that he needs this one as well.
But since this problem is there for as long as the driver existed that is pretty much superfluous and confusing.
Quoted 4 lines
Quoted 2 lines
Why was that added?
I asked for that, because that is the commit introducing the issue, and with that tag it’s more likely to picked for the stable series.
Ah, yes that is a rather good idea. But we should probably use a "CC: [email protected]" tag instead since this patch can be added pretty much everywhere.
Thanks,
Christian.
Quoted 7 lines
[…]
Kind regards,
Paul
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 25 lines · Chenyang Li
Add an underscore in
amdgpu_trace.hline 24 "_AMDGPU_TRACE_H".Fixes d38ceaf99ed0 ("drm/amdgpu: add core driver (v4)")Signed-off-by Chenyang Li <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +1
-2@@ -21,7 +21,7 @@* */ -#if !defined(_AMDGPU_TRACE_H) || defined(TRACE_HEADER_MULTI_READ ) +#if !defined(_AMDGPU_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ )#define _AMDGPU_TRACE_H_#include <linux/stringify.h> --2.29.2
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx