[PATCH v1 05/14] mtd: spi-nor: xilinx: rename vendor specific functions and defines
kernel test robot
lkp at intel.com
Wed Feb 2 12:07:15 PST 2022
Hi Michael,
I love your patch! Perhaps something to improve:
[auto build test WARNING on mtd/spi-nor/next]
[also build test WARNING on linux/master linus/master v5.17-rc2 next-20220202]
[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]
url: https://github.com/0day-ci/linux/commits/Michael-Walle/mtd-spi-nor-move-vendor-specific-code-into-vendor-modules/20220202-230139
base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next
config: riscv-randconfig-r042-20220131 (https://download.01.org/0day-ci/archive/20220203/202202030313.BlFmGeWH-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/0day-ci/linux/commit/6527d5f32d65d5695ddcc0bcf3ac31928e64a935
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Michael-Walle/mtd-spi-nor-move-vendor-specific-code-into-vendor-modules/20220202-230139
git checkout 6527d5f32d65d5695ddcc0bcf3ac31928e64a935
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/mtd/spi-nor/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/mtd/spi-nor/xilinx.c:103: warning: expecting prototype for spi_nor_xsr_ready(). Prototype was for xilinx_sr_ready() instead
vim +103 drivers/mtd/spi-nor/xilinx.c
37ccf5a41e1528e Michael Walle 2022-02-02 94
37ccf5a41e1528e Michael Walle 2022-02-02 95 /**
37ccf5a41e1528e Michael Walle 2022-02-02 96 * spi_nor_xsr_ready() - Query the Status Register of the S3AN flash to see if
37ccf5a41e1528e Michael Walle 2022-02-02 97 * the flash is ready for new commands.
37ccf5a41e1528e Michael Walle 2022-02-02 98 * @nor: pointer to 'struct spi_nor'.
37ccf5a41e1528e Michael Walle 2022-02-02 99 *
37ccf5a41e1528e Michael Walle 2022-02-02 100 * Return: 1 if ready, 0 if not ready, -errno on errors.
37ccf5a41e1528e Michael Walle 2022-02-02 101 */
6527d5f32d65d56 Michael Walle 2022-02-02 102 static int xilinx_sr_ready(struct spi_nor *nor)
37ccf5a41e1528e Michael Walle 2022-02-02 @103 {
37ccf5a41e1528e Michael Walle 2022-02-02 104 int ret;
37ccf5a41e1528e Michael Walle 2022-02-02 105
6527d5f32d65d56 Michael Walle 2022-02-02 106 ret = xilinx_read_sr(nor, nor->bouncebuf);
37ccf5a41e1528e Michael Walle 2022-02-02 107 if (ret)
37ccf5a41e1528e Michael Walle 2022-02-02 108 return ret;
37ccf5a41e1528e Michael Walle 2022-02-02 109
37ccf5a41e1528e Michael Walle 2022-02-02 110 return !!(nor->bouncebuf[0] & XSR_RDY);
37ccf5a41e1528e Michael Walle 2022-02-02 111 }
37ccf5a41e1528e Michael Walle 2022-02-02 112
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the linux-mtd
mailing list