Hi Otto, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.5-rc2 next-20230719] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Otto-Pfl-ger/drm-mipi-dbi-Lock-SPI-bus-before-setting-D-C-GPIO/20230719-180941 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230719095343.88359-2-otto.pflueger%40abscue.de patch subject: [PATCH 1/2] drm/mipi-dbi: Lock SPI bus before setting D/C GPIO config: arc-randconfig-r022-20230718 (https://download.01.org/0day-ci/archive/20230719/202307192201.7i1HPQEe-lkp@xxxxxxxxx/config) compiler: arceb-elf-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230719/202307192201.7i1HPQEe-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202307192201.7i1HPQEe-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/gpu/drm/tiny/ili9225.c: In function 'ili9225_dbi_command': >> drivers/gpu/drm/tiny/ili9225.c:321:15: error: too few arguments to function 'mipi_dbi_spi_transfer' 321 | ret = mipi_dbi_spi_transfer(spi, speed_hz, 8, cmd, 1); | ^~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/tiny/ili9225.c:30: include/drm/drm_mipi_dbi.h:187:5: note: declared here 187 | int mipi_dbi_spi_transfer(struct spi_device *spi, u32 speed_hz, | ^~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/tiny/ili9225.c:331:16: error: too few arguments to function 'mipi_dbi_spi_transfer' 331 | return mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num); | ^~~~~~~~~~~~~~~~~~~~~ include/drm/drm_mipi_dbi.h:187:5: note: declared here 187 | int mipi_dbi_spi_transfer(struct spi_device *spi, u32 speed_hz, | ^~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/tiny/ili9225.c:332:1: error: control reaches end of non-void function [-Werror=return-type] 332 | } | ^ cc1: some warnings being treated as errors vim +/mipi_dbi_spi_transfer +321 drivers/gpu/drm/tiny/ili9225.c b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 310 36b5057216236a drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-22 311 static int ili9225_dbi_command(struct mipi_dbi *dbi, u8 *cmd, u8 *par, b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 312 size_t num) b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 313 { 36b5057216236a drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-22 314 struct spi_device *spi = dbi->spi; b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 315 unsigned int bpw = 8; b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 316 u32 speed_hz; b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 317 int ret; b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 318 36b5057216236a drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-22 319 gpiod_set_value_cansleep(dbi->dc, 0); b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 320 speed_hz = mipi_dbi_spi_cmd_max_speed(spi, 1); d23d4d4dac0119 drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-19 @321 ret = mipi_dbi_spi_transfer(spi, speed_hz, 8, cmd, 1); b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 322 if (ret || !num) b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 323 return ret; b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 324 36b5057216236a drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-22 325 if (*cmd == ILI9225_WRITE_DATA_TO_GRAM && !dbi->swap_bytes) b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 326 bpw = 16; b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 327 36b5057216236a drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-22 328 gpiod_set_value_cansleep(dbi->dc, 1); b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 329 speed_hz = mipi_dbi_spi_cmd_max_speed(spi, num); b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 330 d23d4d4dac0119 drivers/gpu/drm/tinydrm/ili9225.c Noralf Trønnes 2019-07-19 331 return mipi_dbi_spi_transfer(spi, speed_hz, bpw, par, num); b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 332 } b57e8b7661e046 drivers/gpu/drm/tinydrm/ili9225.c David Lechner 2017-11-19 333 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki