* [ti:ti-rt-linux-6.1.y-cicd 323/382] drivers/spi/spi-cadence-quadspi.c:393: undefined reference to `spi_mem_exec_op'
@ 2023-09-22 19:39 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-09-22 19:39 UTC (permalink / raw)
To: Pratyush Yadav; +Cc: oe-kbuild-all, vigneshr, nm
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-6.1.y-cicd
head: b76e01bf23c451952b4bbff4640419fd7d1d3c82
commit: 4535fc8cd288f5c537ff9b8abe0e3131a0ebcc98 [323/382] spi: cadence-qspi: Tune PHY to allow running at higher frequencies
config: i386-randconfig-016-20230922 (https://download.01.org/0day-ci/archive/20230923/202309230341.kwiHMIhX-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230923/202309230341.kwiHMIhX-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309230341.kwiHMIhX-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: drivers/spi/spi-cadence-quadspi.o: in function `cqspi_phy_check_pattern':
>> drivers/spi/spi-cadence-quadspi.c:393: undefined reference to `spi_mem_exec_op'
vim +393 drivers/spi/spi-cadence-quadspi.c
377
378 static int cqspi_phy_check_pattern(struct cqspi_flash_pdata *f_pdata,
379 struct spi_mem *mem)
380 {
381 struct spi_mem_op op = f_pdata->phy_read_op;
382 u8 *read_data;
383 unsigned int size = sizeof(phy_tuning_pattern);
384 int ret;
385
386 read_data = kmalloc(size, GFP_KERNEL);
387 if (!read_data)
388 return -ENOMEM;
389
390 op.data.buf.in = read_data;
391 op.data.nbytes = size;
392
> 393 ret = spi_mem_exec_op(mem, &op);
394 if (ret)
395 goto out;
396
397 if (memcmp(read_data, phy_tuning_pattern,
398 ARRAY_SIZE(phy_tuning_pattern))) {
399 ret = -EAGAIN;
400 goto out;
401 }
402
403 ret = 0;
404
405 out:
406 kfree(read_data);
407 return ret;
408 }
409
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ti:ti-rt-linux-6.1.y-cicd 323/382] drivers/spi/spi-cadence-quadspi.c:393:undefined reference to `spi_mem_exec_op'
@ 2024-05-12 17:30 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2024-05-12 17:30 UTC (permalink / raw)
To: Pratyush Yadav; +Cc: oe-kbuild-all, vigneshr, nm
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-6.1.y-cicd
head: 36746b42badc0d5707b84ccc34c5ea166c9573b2
commit: 4535fc8cd288f5c537ff9b8abe0e3131a0ebcc98 [323/382] spi: cadence-qspi: Tune PHY to allow running at higher frequencies
config: x86_64-randconfig-001-20240512 (https://download.01.org/0day-ci/archive/20240513/202405130129.sfnIKI9Q-lkp@intel.com/config)
compiler: gcc-8 (Ubuntu 8.4.0-3ubuntu2) 8.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240513/202405130129.sfnIKI9Q-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405130129.sfnIKI9Q-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: vmlinux.o: in function `cqspi_phy_check_pattern':
>> drivers/spi/spi-cadence-quadspi.c:393:(.text+0x133318e): undefined reference to `spi_mem_exec_op'
vim +393 drivers/spi/spi-cadence-quadspi.c
377
378 static int cqspi_phy_check_pattern(struct cqspi_flash_pdata *f_pdata,
379 struct spi_mem *mem)
380 {
381 struct spi_mem_op op = f_pdata->phy_read_op;
382 u8 *read_data;
383 unsigned int size = sizeof(phy_tuning_pattern);
384 int ret;
385
386 read_data = kmalloc(size, GFP_KERNEL);
387 if (!read_data)
388 return -ENOMEM;
389
390 op.data.buf.in = read_data;
391 op.data.nbytes = size;
392
> 393 ret = spi_mem_exec_op(mem, &op);
394 if (ret)
395 goto out;
396
397 if (memcmp(read_data, phy_tuning_pattern,
398 ARRAY_SIZE(phy_tuning_pattern))) {
399 ret = -EAGAIN;
400 goto out;
401 }
402
403 ret = 0;
404
405 out:
406 kfree(read_data);
407 return ret;
408 }
409
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ti:ti-rt-linux-6.1.y-cicd 323/382] drivers/spi/spi-cadence-quadspi.c:393: undefined reference to `spi_mem_exec_op'
@ 2023-04-29 4:41 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-04-29 4:41 UTC (permalink / raw)
To: Pratyush Yadav; +Cc: oe-kbuild-all, vigneshr, nm
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-6.1.y-cicd
head: 5b69be59af422fe55a3cee133b337b1027cb98c3
commit: 4535fc8cd288f5c537ff9b8abe0e3131a0ebcc98 [323/382] spi: cadence-qspi: Tune PHY to allow running at higher frequencies
config: csky-buildonly-randconfig-r003-20230428 (https://download.01.org/0day-ci/archive/20230429/202304291202.Ckr1o2QZ-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-6.1.y-cicd
git checkout 4535fc8cd288f5c537ff9b8abe0e3131a0ebcc98
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304291202.Ckr1o2QZ-lkp@intel.com/
All errors (new ones prefixed by >>):
csky-linux-ld: drivers/spi/spi-cadence-quadspi.o: in function `cqspi_phy_check_pattern':
>> drivers/spi/spi-cadence-quadspi.c:393: undefined reference to `spi_mem_exec_op'
csky-linux-ld: drivers/spi/spi-cadence-quadspi.o: in function `cqspi_find_tx_high':
drivers/spi/spi-cadence-quadspi.c:504: undefined reference to `spi_mem_exec_op'
vim +393 drivers/spi/spi-cadence-quadspi.c
377
378 static int cqspi_phy_check_pattern(struct cqspi_flash_pdata *f_pdata,
379 struct spi_mem *mem)
380 {
381 struct spi_mem_op op = f_pdata->phy_read_op;
382 u8 *read_data;
383 unsigned int size = sizeof(phy_tuning_pattern);
384 int ret;
385
386 read_data = kmalloc(size, GFP_KERNEL);
387 if (!read_data)
388 return -ENOMEM;
389
390 op.data.buf.in = read_data;
391 op.data.nbytes = size;
392
> 393 ret = spi_mem_exec_op(mem, &op);
394 if (ret)
395 goto out;
396
397 if (memcmp(read_data, phy_tuning_pattern,
398 ARRAY_SIZE(phy_tuning_pattern))) {
399 ret = -EAGAIN;
400 goto out;
401 }
402
403 ret = 0;
404
405 out:
406 kfree(read_data);
407 return ret;
408 }
409
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-12 17:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-22 19:39 [ti:ti-rt-linux-6.1.y-cicd 323/382] drivers/spi/spi-cadence-quadspi.c:393: undefined reference to `spi_mem_exec_op' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-05-12 17:30 [ti:ti-rt-linux-6.1.y-cicd 323/382] drivers/spi/spi-cadence-quadspi.c:393:undefined " kernel test robot
2023-04-29 4:41 [ti:ti-rt-linux-6.1.y-cicd 323/382] drivers/spi/spi-cadence-quadspi.c:393: undefined " kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.