staging: media: atomisp: prefer __aligned over __attribute__((aligned))
Subsystems (4)
PATCH 2/2 staging: media: atomisp: prefer __aligned over __attribute__((aligned))
Replace the GCC-specific __attribute__((aligned(a))) with the standard __aligned(a) macro to match the kernel coding style.
The checkpatch.pl error about complex macro values is a false positive here, as enclosing the macro expansion in parentheses breaks declaration syntax.
Signed-off-by Igor Putko <[email protected]>
--- .../media/atomisp/pci/hive_isp_css_include/platform_support.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h +1 -1
@@ -20,6 +20,6 @@#define UINT32_MAX UINT_MAX#define UCHAR_MAX (255) -#define CSS_ALIGN (d, a) d __attribute__((aligned(a))) +#define CSS_ALIGN (d, a) d __aligned(a)#endif /* __PLATFORM_SUPPORT_H_INCLUDED__ */
Signature · 1 line
2.34.1