lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202601302310.y3KX2o43-lkp@intel.com>
Date: Fri, 30 Jan 2026 23:30:26 +0800
From: kernel test robot <lkp@...el.com>
To: Cheng Ming Lin <linchengming884@...il.com>,
	Miquel Raynal <miquel.raynal@...tlin.com>,
	Vignesh Raghavendra <vigneshr@...com>
Cc: oe-kbuild-all@...ts.linux.dev, Richard Weinberger <richard@....at>,
	Tudor Ambarus <tudor.ambarus@...aro.org>,
	Martin Kurbanov <mmkurbanov@...utedevices.com>,
	Mikhail Kshevetskiy <mikhail.kshevetskiy@...sys.eu>,
	Pratyush Yadav <pratyush@...nel.org>, linux-mtd@...ts.infradead.org,
	linux-kernel@...r.kernel.org,
	Cheng Ming Lin <chengminglin@...c.com.tw>
Subject: Re: [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer

Hi Cheng,

kernel test robot noticed the following build errors:

[auto build test ERROR on v6.19-rc7]
[also build test ERROR on linus/master next-20260129]
[cannot apply to mtd/nand/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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Cheng-Ming-Lin/mtd-spi-nand-Add-support-for-randomizer/20260130-173004
base:   v6.19-rc7
patch link:    https://lore.kernel.org/r/20260130092349.621034-2-linchengming884%40gmail.com
patch subject: [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer
config: i386-buildonly-randconfig-004-20260130 (https://download.01.org/0day-ci/archive/20260130/202601302310.y3KX2o43-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260130/202601302310.y3KX2o43-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601302310.y3KX2o43-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/mtd/nand/spi/core.c: In function 'spinand_randomizer_init':
>> drivers/mtd/nand/spi/core.c:1234:32: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
    1234 |                         return ret;
         |                                ^~~
   drivers/mtd/nand/spi/core.c:1227:13: note: declared here
    1227 | static void spinand_randomizer_init(struct spinand_device *spinand)
         |             ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/mtd/nand/spi/core.c:1237:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
    1237 |         return 0;
         |                ^
   drivers/mtd/nand/spi/core.c:1227:13: note: declared here
    1227 | static void spinand_randomizer_init(struct spinand_device *spinand)
         |             ^~~~~~~~~~~~~~~~~~~~~~~


vim +/return +1234 drivers/mtd/nand/spi/core.c

  1226	
  1227	static void spinand_randomizer_init(struct spinand_device *spinand)
  1228	{
  1229		int ret;
  1230	
  1231		if (spinand->set_randomizer) {
  1232			ret = spinand_randomizer_enable(spinand, true);
  1233			if (ret)
> 1234				return ret;
  1235		}
  1236	
  1237		return 0;
  1238	}
  1239	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ