All of lore.kernel.org
 help / color / mirror / Atom feed
* [mtd:mtd/fixes 1/8] drivers/mtd/nand/raw/cs553x_nand.c:248:9: error: implicit declaration of function 'ecc_sw_hamming_correct'; did you mean 'rawnand_sw_hamming_correct'?
@ 2021-05-10 14:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-10 14:35 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2040 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes
head:   0bc731700ec65606803c407901cef999a204fbb7
commit: 4476397eda3ba791b7896e60b5cbaa022f41728b [1/8] mtd: rawnand: cs553x: Fix external use of SW Hamming ECC helper
config: i386-randconfig-s002-20210510 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git/commit/?id=4476397eda3ba791b7896e60b5cbaa022f41728b
        git remote add mtd https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
        git fetch --no-tags mtd mtd/fixes
        git checkout 4476397eda3ba791b7896e60b5cbaa022f41728b
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/mtd/nand/raw/cs553x_nand.c: In function 'cs553x_ecc_correct':
>> drivers/mtd/nand/raw/cs553x_nand.c:248:9: error: implicit declaration of function 'ecc_sw_hamming_correct'; did you mean 'rawnand_sw_hamming_correct'? [-Werror=implicit-function-declaration]
     248 |  return ecc_sw_hamming_correct(buf, read_ecc, calc_ecc,
         |         ^~~~~~~~~~~~~~~~~~~~~~
         |         rawnand_sw_hamming_correct
   cc1: some warnings being treated as errors


vim +248 drivers/mtd/nand/raw/cs553x_nand.c

   242	
   243	static int cs553x_ecc_correct(struct nand_chip *chip,
   244				      unsigned char *buf,
   245				      unsigned char *read_ecc,
   246				      unsigned char *calc_ecc)
   247	{
 > 248		return ecc_sw_hamming_correct(buf, read_ecc, calc_ecc,
   249					      chip->ecc.size, false);
   250	}
   251	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34082 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-10 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-10 14:35 [mtd:mtd/fixes 1/8] drivers/mtd/nand/raw/cs553x_nand.c:248:9: error: implicit declaration of function 'ecc_sw_hamming_correct'; did you mean 'rawnand_sw_hamming_correct'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.