drm/amd/display: Remove incorrect macro guard
Subsystems (3)
PATCH 1/1 drm/amd/display: Remove incorrect macro guard
This macro guard "__cplusplus" is unnecessary and should not be there.
--- drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0 -3
@@ -17,9 +17,6 @@#define SPL_EXPAND (a, b) SPL_EXPAND2(a, b)#define SPL_NAMESPACE (symbol) SPL_EXPAND(SPL_PFX_, symbol) -#ifdef __cplusplus -extern "C" { -#endif /* SPL interfaces */
Signature · 1 line
2.43.0
Quoted 24 lines · Alex Hung
This macro guard "
__cplusplus" is unnecessary and should not be there.Signed-off-by Alex Hung <[email protected]>--- drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-3@@ -17,9 +17,6 @@#define SPL_EXPAND (a, b) SPL_EXPAND2(a, b)#define SPL_NAMESPACE (symbol) SPL_EXPAND(SPL_PFX_, symbol) -#ifdef __cplusplus -extern "C" { -#endif /* SPL interfaces */ Signature · 1 line
2.43.0
Signature · 1 line
Rodrigo Siqueira
Christian König
maintainerAm 11.03.25 um 18:10 schrieb Alex Hung:
Quoted 12 lines
This macro guard "
__cplusplus" is unnecessary and should not be there.Signed-off-by Alex Hung <[email protected]>--- drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-0
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h line 22
Quoted 6 lines
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-3@@ -17,9 +17,6 @@#define SPL_EXPAND (a, b) SPL_EXPAND2(a, b)#define SPL_NAMESPACE (symbol) SPL_EXPAND(SPL_PFX_, symbol) -#ifdef __cplusplus -extern "C" { -#endif
Just double checking: Is there a closing "#ifdef.. } #endif" at the end of the file?
If yes then please remove that as well, if not feel free to add Reviewed-by: Christian König <[email protected]>.
Regards,
Christian.
Quoted 3 lines
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-0/* SPL interfaces */
Quoted 16 lines · Christian König
Am 11.03.25 um 18:10 schrieb Alex Hung:
Quoted 15 lines
This macro guard "
__cplusplus" is unnecessary and should not be there.Signed-off-by Alex Hung <[email protected]>--- drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-0@@ -17,9 +17,6 @@#define SPL_EXPAND (a, b) SPL_EXPAND2(a, b)#define SPL_NAMESPACE (symbol) SPL_EXPAND(SPL_PFX_, symbol)
Quoted 7 lines
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h line 22
Quoted 3 lines
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-3-#ifdef __cplusplus -extern "C" { -#endif Just double checking: Is there a closing "#ifdef.. } #endif" at the end of the file?
If yes then please remove that as well, if not feel free to add Reviewed-by: Christian König <[email protected]>.
There are no closing one at the end of the file. Thanks.
Quoted 8 lines
Regards,
Christian.Quoted 3 lines
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.h +0
-0/* SPL interfaces */