Re: [PATCH v1 2/2] drm: bridge: Add support for Solomon SSD2825 RGB/DSI bridge

From: kernel test robot
Date: Fri Feb 14 2025 - 22:50:07 EST


Hi Svyatoslav,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.14-rc2 next-20250214]
[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/Svyatoslav-Ryhel/dt-bindings-display-bridge-Document-Solomon-SSD2825/20250213-215821
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250213135605.157650-3-clamor95%40gmail.com
patch subject: [PATCH v1 2/2] drm: bridge: Add support for Solomon SSD2825 RGB/DSI bridge
config: x86_64-randconfig-077-20250215 (https://download.01.org/0day-ci/archive/20250215/202502151123.DwXjsR05-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250215/202502151123.DwXjsR05-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/202502151123.DwXjsR05-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld: vmlinux.o: in function `spi_sync_transfer':
>> include/linux/spi/spi.h:1404: undefined reference to `spi_sync'
ld: vmlinux.o: in function `ssd2825_read_raw':
>> drivers/gpu/drm/bridge/ssd2825.c:241: undefined reference to `spi_sync'
ld: vmlinux.o: in function `ssd2825_probe':
>> drivers/gpu/drm/bridge/ssd2825.c:664: undefined reference to `spi_setup'
ld: vmlinux.o: in function `ssd2825_driver_init':
>> drivers/gpu/drm/bridge/ssd2825.c:737: undefined reference to `__spi_register_driver'


vim +1404 include/linux/spi/spi.h

8ae12a0d85987d David Brownell 2006-01-08 1382
323117ab60156d Geert Uytterhoeven 2016-09-13 1383 /**
323117ab60156d Geert Uytterhoeven 2016-09-13 1384 * spi_sync_transfer - synchronous SPI data transfer
323117ab60156d Geert Uytterhoeven 2016-09-13 1385 * @spi: device with which data will be exchanged
323117ab60156d Geert Uytterhoeven 2016-09-13 1386 * @xfers: An array of spi_transfers
323117ab60156d Geert Uytterhoeven 2016-09-13 1387 * @num_xfers: Number of items in the xfer array
323117ab60156d Geert Uytterhoeven 2016-09-13 1388 * Context: can sleep
323117ab60156d Geert Uytterhoeven 2016-09-13 1389 *
323117ab60156d Geert Uytterhoeven 2016-09-13 1390 * Does a synchronous SPI data transfer of the given spi_transfer array.
323117ab60156d Geert Uytterhoeven 2016-09-13 1391 *
323117ab60156d Geert Uytterhoeven 2016-09-13 1392 * For more specific semantics see spi_sync().
323117ab60156d Geert Uytterhoeven 2016-09-13 1393 *
2ae3de10abfe0b Randy Dunlap 2020-07-15 1394 * Return: zero on success, else a negative error code.
323117ab60156d Geert Uytterhoeven 2016-09-13 1395 */
323117ab60156d Geert Uytterhoeven 2016-09-13 1396 static inline int
323117ab60156d Geert Uytterhoeven 2016-09-13 1397 spi_sync_transfer(struct spi_device *spi, struct spi_transfer *xfers,
323117ab60156d Geert Uytterhoeven 2016-09-13 1398 unsigned int num_xfers)
323117ab60156d Geert Uytterhoeven 2016-09-13 1399 {
323117ab60156d Geert Uytterhoeven 2016-09-13 1400 struct spi_message msg;
323117ab60156d Geert Uytterhoeven 2016-09-13 1401
323117ab60156d Geert Uytterhoeven 2016-09-13 1402 spi_message_init_with_transfers(&msg, xfers, num_xfers);
323117ab60156d Geert Uytterhoeven 2016-09-13 1403
323117ab60156d Geert Uytterhoeven 2016-09-13 @1404 return spi_sync(spi, &msg);
323117ab60156d Geert Uytterhoeven 2016-09-13 1405 }
323117ab60156d Geert Uytterhoeven 2016-09-13 1406

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki