CHECK: Macro argument reuse 'spi' - possible side-effects? #276: FILE: src/include/sof/spi.h:136: +#define spi_set_drvdata(spi, data) \ + do { \ + spi->private = data; \ + spi->private_size = sizeof(*data); \ + } while (0) CHECK: Macro argument reuse 'data' - possible side-effects? #276: FILE: src/include/sof/spi.h:136: +#define spi_set_drvdata(spi, data) \ + do { \ + spi->private = data; \ + spi->private_size = sizeof(*data); \ + } while (0) total: 0 errors, 0 warnings, 2 checks, 397 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-sof-sue-add-the-spi-driver-for-sue.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.