[Please note: This e-mail is from an EXTERNAL e-mail address]
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.0-rc5 next-20220912]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/yaliang-wang-windriver-com/mtd-spi-nor-gigadevice-gd25q256-replace-gd25q256_default_init-with-gd25q256_post_bfpt/20220912-223028
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 80e78fcce86de0288793a0ef0f6acf37656ee4cf
config: i386-randconfig-a016-20220912 (https://download.01.org/0day-ci/archive/20220913/202209130732.cQpPG34i-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/intel-lab-lkp/linux/commit/0238f8172a76ee5a84dda79b45911a2b63d59721
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review yaliang-wang-windriver-com/mtd-spi-nor-gigadevice-gd25q256-replace-gd25q256_default_init-with-gd25q256_post_bfpt/20220912-223028
git checkout 0238f8172a76ee5a84dda79b45911a2b63d59721
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/mtd/spi-nor/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
}drivers/mtd/spi-nor/gigadevice.c:23:1: error: non-void function does not return a value [-Werror,-Wreturn-type]
^
1 error generated.
vim +23 drivers/mtd/spi-nor/gigadevice.c
acb96ecd59f7fd Boris Brezillon 2020-03-13 10
0238f8172a76ee Yaliang Wang 2022-09-12 11 static int
0238f8172a76ee Yaliang Wang 2022-09-12 12 gd25q256_post_bfpt(struct spi_nor *nor,
0238f8172a76ee Yaliang Wang 2022-09-12 13 const struct sfdp_parameter_header *bfpt_header,
0238f8172a76ee Yaliang Wang 2022-09-12 14 const struct sfdp_bfpt *bfpt)
acb96ecd59f7fd Boris Brezillon 2020-03-13 15 {
acb96ecd59f7fd Boris Brezillon 2020-03-13 16 /*
acb96ecd59f7fd Boris Brezillon 2020-03-13 17 * Some manufacturer like GigaDevice may use different
acb96ecd59f7fd Boris Brezillon 2020-03-13 18 * bit to set QE on different memories, so the MFR can't
acb96ecd59f7fd Boris Brezillon 2020-03-13 19 * indicate the quad_enable method for this case, we need
0238f8172a76ee Yaliang Wang 2022-09-12 20 * to set it in the post_bfpt fixup hook.
acb96ecd59f7fd Boris Brezillon 2020-03-13 21 */
829ec6408dc58d Tudor Ambarus 2020-03-13 22 nor->params->quad_enable = spi_nor_sr1_bit6_quad_enable;
acb96ecd59f7fd Boris Brezillon 2020-03-13 @23 }
acb96ecd59f7fd Boris Brezillon 2020-03-13 24
--
0-DAY CI Kernel Test Service
https://01.org/lkp