* [xilinx-xlnx:master 966/1117] drivers/spi/spi-zynq-qspi.c:167:6: warning: no previous prototype for 'zynq_qspi_update_stripe'
@ 2023-04-22 7:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-22 7:33 UTC (permalink / raw)
To: Amit Kumar Mahapatra; +Cc: oe-kbuild-all, linux-arm-kernel, Michal Simek
tree: https://github.com/Xilinx/linux-xlnx master
head: 3a2a9dcee70777a85b3952269c47e6eb65779b78
commit: 7fe5d3fbd9be0cef89fbe9db59796698379345ea [966/1117] spi: spi-zynq-qspi: Add multi-cs support in Zynq QSPI driver
config: arc-randconfig-r043-20230421 (https://download.01.org/0day-ci/archive/20230422/202304221545.sXCm59rf-lkp@intel.com/config)
compiler: arceb-elf-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
# https://github.com/Xilinx/linux-xlnx/commit/7fe5d3fbd9be0cef89fbe9db59796698379345ea
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx master
git checkout 7fe5d3fbd9be0cef89fbe9db59796698379345ea
# 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=arc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc 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/202304221545.sXCm59rf-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/spi/spi-zynq-qspi.c:167:6: warning: no previous prototype for 'zynq_qspi_update_stripe' [-Wmissing-prototypes]
167 | bool zynq_qspi_update_stripe(const struct spi_mem_op *op)
| ^~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for CRYPTO_USER_API_AEAD
Depends on [n]: CRYPTO [=y] && NET [=n]
Selected by [y]:
- CRYPTO_DEV_ZYNQMP_AES [=y] && CRYPTO [=y] && CRYPTO_HW [=y] && (ZYNQMP_FIRMWARE [=n] || COMPILE_TEST [=y])
vim +/zynq_qspi_update_stripe +167 drivers/spi/spi-zynq-qspi.c
159
160 /**
161 * zynq_qspi_update_stripe - For Zynq QSPI controller data stripe capabilities
162 * @op: Pointer to mem ops
163 * Return: Status of the data stripe
164 *
165 * Returns true if data stripe need to be enabled, else returns false
166 */
> 167 bool zynq_qspi_update_stripe(const struct spi_mem_op *op)
168 {
169 if (op->cmd.opcode == SPINOR_OP_BE_4K ||
170 op->cmd.opcode == SPINOR_OP_BE_32K ||
171 op->cmd.opcode == SPINOR_OP_CHIP_ERASE ||
172 op->cmd.opcode == SPINOR_OP_SE ||
173 op->cmd.opcode == SPINOR_OP_BE_32K_4B ||
174 op->cmd.opcode == SPINOR_OP_SE_4B ||
175 op->cmd.opcode == SPINOR_OP_BE_4K_4B ||
176 op->cmd.opcode == SPINOR_OP_WRSR ||
177 op->cmd.opcode == SPINOR_OP_WREAR ||
178 op->cmd.opcode == SPINOR_OP_BRWR ||
179 (op->cmd.opcode == SPINOR_OP_WRSR2 && !op->addr.nbytes))
180 return false;
181
182 return true;
183 }
184
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-22 7:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-22 7:33 [xilinx-xlnx:master 966/1117] drivers/spi/spi-zynq-qspi.c:167:6: warning: no previous prototype for 'zynq_qspi_update_stripe' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).