CHECK: Alignment should match open parenthesis #91: FILE: include/linux/dma-mapping.h:286: +void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, + enum dma_data_direction dir); CHECK: Alignment should match open parenthesis #93: FILE: include/linux/dma-mapping.h:288: +void dma_sync_single_for_device(struct device *dev, dma_addr_t addr, + size_t size, enum dma_data_direction dir); CHECK: Alignment should match open parenthesis #95: FILE: include/linux/dma-mapping.h:290: +void dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, + int nelems, enum dma_data_direction dir); CHECK: Alignment should match open parenthesis #97: FILE: include/linux/dma-mapping.h:292: +void dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, + int nelems, enum dma_data_direction dir); CHECK: Alignment should match open parenthesis #101: FILE: include/linux/dma-mapping.h:296: +static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, + size_t size, enum dma_data_direction dir) CHECK: Please use a blank line after function/struct/union/enum declarations #104: FILE: include/linux/dma-mapping.h:299: +} +static inline void dma_sync_single_for_device(struct device *dev, CHECK: Alignment should match open parenthesis #105: FILE: include/linux/dma-mapping.h:300: +static inline void dma_sync_single_for_device(struct device *dev, + dma_addr_t addr, size_t size, enum dma_data_direction dir) CHECK: Please use a blank line after function/struct/union/enum declarations #108: FILE: include/linux/dma-mapping.h:303: +} +static inline void dma_sync_sg_for_cpu(struct device *dev, CHECK: Alignment should match open parenthesis #109: FILE: include/linux/dma-mapping.h:304: +static inline void dma_sync_sg_for_cpu(struct device *dev, + struct scatterlist *sg, int nelems, enum dma_data_direction dir) CHECK: Please use a blank line after function/struct/union/enum declarations #112: FILE: include/linux/dma-mapping.h:307: +} +static inline void dma_sync_sg_for_device(struct device *dev, CHECK: Alignment should match open parenthesis #113: FILE: include/linux/dma-mapping.h:308: +static inline void dma_sync_sg_for_device(struct device *dev, + struct scatterlist *sg, int nelems, enum dma_data_direction dir) CHECK: Please use a blank line after function/struct/union/enum declarations #116: FILE: include/linux/dma-mapping.h:311: +} +static inline bool dma_need_sync(struct device *dev, dma_addr_t dma_addr) total: 0 errors, 0 warnings, 12 checks, 143 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. Commit d880c4e64d66 ("dma: compile-out DMA sync op calls when not used") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 12 checks, 143 lines checked