drm/amdgpu:Fixed the wrong macro definition in amdgpu_trace.h
Subsystems (2)
PATCH 1/1 drm/amdgpu:Fixed the wrong macro definition in amdgpu_trace.h
In line 24 "_AMDGPU_TRACE_H" is missing an underscore.
--- 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
[AMD Public Use]
Nice catch and the patch is:
Regards,
Guchun
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Chenyang Li
Sent: Wednesday, December 23, 2020 9:19 AM
To: Deucher, Alexander <[email protected]>; [email protected]; [email protected]
Subject: [PATCH] drm/amdgpu:Fixed the wrong macro definition in amdgpu_trace.h
In line 24 "_AMDGPU_TRACE_H" is missing an underscore.
--- 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 · 10 lines
2.29.2 _______________________________________________ amd-gfx mailing list [email protected] https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=04%7C01%7Cguchun.chen%40amd.com%7C8d902bda929a44a4eac508d8a7114368%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637443040220638596%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2ByVfo1XiGQKDHkf354Kpi2edjFzsUT3FIlAXAM6O6AE%3D&reserved=0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Dear Chenyang,
Am 23.12.20 um 02:19 schrieb Chenyang Li:
Quoted 1 line
In line 24 "
_AMDGPU_TRACE_H" is missing an underscore.
Nice catch. Could you please update the commit message summary, by adding a space after the prefix (colon), and using imperative mood [1]?
Quoted 1 line
drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
If you can also add a Fixes tag, that would be even better.
Quoted 4 lines
Signed-off-by Chenyang Li <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[…]
Kind regards,
Paul
[1]: https://chris.beams.io/posts/git-commit/
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx