Re: [PATCH 1/2] misc: qualcomm: QRC driver for Robotic SDK MCU
From: kernel test robot
Date: Sun Mar 03 2024 - 19:42:54 EST
Hi Canfeng,
kernel test robot noticed the following build errors:
[auto build test ERROR on 805d849d7c3cc1f38efefd48b2480d62b7b5dcb7]
url: https://github.com/intel-lab-lkp/linux/commits/Canfeng-Zhuang/misc-qualcomm-QRC-driver-for-Robotic-SDK-MCU/20240304-005601
base: 805d849d7c3cc1f38efefd48b2480d62b7b5dcb7
patch link: https://lore.kernel.org/r/20240304-qcom_qrc-v1-1-2a709f95fd61%40quicinc.com
patch subject: [PATCH 1/2] misc: qualcomm: QRC driver for Robotic SDK MCU
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20240304/202403040831.fk22ur0f-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240304/202403040831.fk22ur0f-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/202403040831.fk22ur0f-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> drivers/misc/qrc/qrc_uart.c:83:24: error: initialization of 'ssize_t (*)(struct serdev_device *, const u8 *, size_t)' {aka 'long int (*)(struct serdev_device *, const unsigned char *, long unsigned int)'} from incompatible pointer type 'int (*)(struct serdev_device *, const unsigned char *, size_t)' {aka 'int (*)(struct serdev_device *, const unsigned char *, long unsigned int)'} [-Werror=incompatible-pointer-types]
83 | .receive_buf = qrc_uart_receive,
| ^~~~~~~~~~~~~~~~
drivers/misc/qrc/qrc_uart.c:83:24: note: (near initialization for 'qrc_serdev_ops.receive_buf')
cc1: some warnings being treated as errors
vim +83 drivers/misc/qrc/qrc_uart.c
81
82 static struct serdev_device_ops qrc_serdev_ops = {
> 83 .receive_buf = qrc_uart_receive,
84 .write_wakeup = qrc_uart_wakeup,
85 };
86
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki