Messages in this thread | | | Date | Thu, 28 Oct 2021 05:00:54 +0800 | From | kernel test robot <> | Subject | Re: [PATCH 2/4] mtd: spi-nor: add advanced protection and security features support |
| |
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on mtd/mtd/next] [also build test WARNING on mtd/mtd/fixes v5.15-rc7 next-20211027] [cannot apply to mtd/spi-nor/next] [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/shiva-linuxworks-gmail-com/enabling-Advanced-protection-and-security-features/20211027-183458 base: https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next config: arc-randconfig-r043-20211027 (attached as .config) compiler: arc-elf-gcc (GCC) 11.2.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/0day-ci/linux/commit/d26eac1611c4409954b4d0c44215e1a53aa7605a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review shiva-linuxworks-gmail-com/enabling-Advanced-protection-and-security-features/20211027-183458 git checkout d26eac1611c4409954b4d0c44215e1a53aa7605a # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/mtd/spi-nor/advprotsec.c:192:6: warning: no previous prototype for 'spi_nor_register_security_ops' [-Wmissing-prototypes] 192 | void spi_nor_register_security_ops(struct spi_nor *nor) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/spi_nor_register_security_ops +192 drivers/mtd/spi-nor/advprotsec.c
191 > 192 void spi_nor_register_security_ops(struct spi_nor *nor)
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |