Content-Type: multipart/mixed; boundary="===============8406595293975179968==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v1 05/14] mtd: spi-nor: xilinx: rename vendor specific functions and defines Date: Thu, 03 Feb 2022 01:14:04 +0800 Message-ID: <202202030130.meVKrEGw-lkp@intel.com> In-Reply-To: <20220202145853.4187726-6-michael@walle.cc> List-Id: --===============8406595293975179968== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-202202= 02] [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-n= or/next config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/2022020= 3/202202030130.meVKrEGw-lkp(a)intel.com/config) compiler: alpha-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/0day-ci/linux/commit/6527d5f32d65d5695ddcc0bcf= 3ac31928e64a935 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Michael-Walle/mtd-spi-nor-move-ven= dor-specific-code-into-vendor-modules/20220202-230139 git checkout 6527d5f32d65d5695ddcc0bcf3ac31928e64a935 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dalpha SHELL=3D/bin/bash drivers/mtd/spi-nor/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/mtd/spi-nor/xilinx.c:103: warning: expecting prototype for spi_n= or_xsr_ready(). Prototype was for xilinx_sr_ready() instead vim +103 drivers/mtd/spi-nor/xilinx.c 37ccf5a41e1528 Michael Walle 2022-02-02 94 = 37ccf5a41e1528 Michael Walle 2022-02-02 95 /** 37ccf5a41e1528 Michael Walle 2022-02-02 96 * spi_nor_xsr_ready() - Quer= y the Status Register of the S3AN flash to see if 37ccf5a41e1528 Michael Walle 2022-02-02 97 * the flash is ready for new= commands. 37ccf5a41e1528 Michael Walle 2022-02-02 98 * @nor: pointer to 'struct s= pi_nor'. 37ccf5a41e1528 Michael Walle 2022-02-02 99 * 37ccf5a41e1528 Michael Walle 2022-02-02 100 * Return: 1 if ready, 0 if n= ot ready, -errno on errors. 37ccf5a41e1528 Michael Walle 2022-02-02 101 */ 6527d5f32d65d5 Michael Walle 2022-02-02 102 static int xilinx_sr_ready(st= ruct spi_nor *nor) 37ccf5a41e1528 Michael Walle 2022-02-02 @103 { 37ccf5a41e1528 Michael Walle 2022-02-02 104 int ret; 37ccf5a41e1528 Michael Walle 2022-02-02 105 = 6527d5f32d65d5 Michael Walle 2022-02-02 106 ret =3D xilinx_read_sr(nor, = nor->bouncebuf); 37ccf5a41e1528 Michael Walle 2022-02-02 107 if (ret) 37ccf5a41e1528 Michael Walle 2022-02-02 108 return ret; 37ccf5a41e1528 Michael Walle 2022-02-02 109 = 37ccf5a41e1528 Michael Walle 2022-02-02 110 return !!(nor->bouncebuf[0] = & XSR_RDY); 37ccf5a41e1528 Michael Walle 2022-02-02 111 } 37ccf5a41e1528 Michael Walle 2022-02-02 112 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8406595293975179968==--