WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) #75: FILE: src/platform/apollolake/include/platform/platform.h:128: +#define PLATFORM_DCACHE_ALIGN __attribute__((__aligned__(DCACHE_LINE_SIZE))) WARNING: __aligned(size) is preferred over __attribute__((aligned(size))) #117: FILE: src/platform/cannonlake/include/platform/platform.h:125: +#define PLATFORM_DCACHE_ALIGN __attribute__((__aligned__(DCACHE_LINE_SIZE))) total: 0 errors, 2 warnings, 0 checks, 78 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. 0001-alloc-align-memmap-to-cache-line-size.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.