From: kernel test robot <lkp@intel.com>
To: Cheng Ming Lin <linchengming884@gmail.com>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Vignesh Raghavendra <vigneshr@ti.com>
Cc: oe-kbuild-all@lists.linux.dev,
Richard Weinberger <richard@nod.at>,
Tudor Ambarus <tudor.ambarus@linaro.org>,
Martin Kurbanov <mmkurbanov@salutedevices.com>,
Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,
Pratyush Yadav <pratyush@kernel.org>,
linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org,
Cheng Ming Lin <chengminglin@mxic.com.tw>
Subject: Re: [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer
Date: Fri, 30 Jan 2026 23:30:26 +0800 [thread overview]
Message-ID: <202601302310.y3KX2o43-lkp@intel.com> (raw)
In-Reply-To: <20260130092349.621034-2-linchengming884@gmail.com>
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@intel.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
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2026-01-30 15:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 9:23 [PATCH v3 0/2] mtd: spi-nand: Add support for randomizer feature Cheng Ming Lin
2026-01-30 9:23 ` [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer Cheng Ming Lin
2026-01-30 15:30 ` kernel test robot [this message]
2026-01-30 15:40 ` kernel test robot
2026-01-30 17:24 ` kernel test robot
2026-01-30 9:23 ` [PATCH v3 2/2] mtd: spi-nand: macronix: Enable randomizer support Cheng Ming Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202601302310.y3KX2o43-lkp@intel.com \
--to=lkp@intel.com \
--cc=chengminglin@mxic.com.tw \
--cc=linchengming884@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mikhail.kshevetskiy@iopsys.eu \
--cc=miquel.raynal@bootlin.com \
--cc=mmkurbanov@salutedevices.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pratyush@kernel.org \
--cc=richard@nod.at \
--cc=tudor.ambarus@linaro.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox