From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51622309EF0 for ; Fri, 30 Jan 2026 15:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769787083; cv=none; b=KrJC5dwrBtH2dA2LiK1pcHeKssY+oZqERuMViB74BLdWune/ChTH3TC1wn5SGH78di7nNbiu9bVlCi4CmUJr8JQAmyqbro8xa4sBouubhyHoUWxMQ0AFuo/UrrWBuDQPFS6mN2dubTXw6rUL2EBPxpcAxPHT13ntgorPI1KURrY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769787083; c=relaxed/simple; bh=/BTCSIhz5h5AdCXs/IeSYBwPtxUn2keWMYQIsXLWn0k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Lub5+EBWClCR/q26y4gKBjr1oRetitlqPCxUtDkVikd9KVjGBxAl2mX4XqJTvmvDRgsIOhCaBM+c8dtAJwlGOIaZFgZUw9I/SMBW8EmwEki4hPOizfHr7eEYv0h9wNQUqg4qkc5iIA+pm24rHUFB/RnYajkZ7x0WDwvCG6DRoXE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=aD3QW4hO; arc=none smtp.client-ip=192.198.163.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="aD3QW4hO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1769787081; x=1801323081; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=/BTCSIhz5h5AdCXs/IeSYBwPtxUn2keWMYQIsXLWn0k=; b=aD3QW4hOTbOaKILTeGKDacMJv5I8dHtXm08baV/onlI2gMrgfJL3ZX+w qOTG73lZp2tRLiA7+yzyBubDi3AaSlP1BmZn6UeySvvD0nMPPQ8bcrSE/ i55oA7ir+loi4/bm789WWAZwx+Ls3fKFmpIbeRi2zEmfoRgOpgaoLrUVf Kc4Xry0pE7d2v7HZ2dzBi3NN2JrvwSfz+f7EhHo7+GYOyIL5py2Y6gFfG 5/OoXKJYQ6ti84ycRJuznsEsn9Jnvguj/jsg4C7kXTqCrLR4XSx2AzAGM dAxvqTU42l7X8/bp0ANSmXMIpcC7cKMM5eN7XYOc9taWFEXxeVhB86KLu w==; X-CSE-ConnectionGUID: Id8a/NWyRBKij4OIKlA+7w== X-CSE-MsgGUID: Qhi10zw6SuuUTNXqKuLBRw== X-IronPort-AV: E=McAfee;i="6800,10657,11686"; a="73640453" X-IronPort-AV: E=Sophos;i="6.21,263,1763452800"; d="scan'208";a="73640453" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jan 2026 07:31:21 -0800 X-CSE-ConnectionGUID: fNx4iWmQSIGDVz/roeT1Gw== X-CSE-MsgGUID: juT+mXVkQxOVk50BPc/GXQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,263,1763452800"; d="scan'208";a="213774721" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 30 Jan 2026 07:31:18 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vlqSp-00000000d5C-1HMn; Fri, 30 Jan 2026 15:31:15 +0000 Date: Fri, 30 Jan 2026 23:30:26 +0800 From: kernel test robot To: Cheng Ming Lin , Miquel Raynal , Vignesh Raghavendra Cc: oe-kbuild-all@lists.linux.dev, Richard Weinberger , Tudor Ambarus , Martin Kurbanov , Mikhail Kshevetskiy , Pratyush Yadav , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Cheng Ming Lin Subject: Re: [PATCH v3 1/2] mtd: spi-nand: Add support for randomizer Message-ID: <202601302310.y3KX2o43-lkp@intel.com> References: <20260130092349.621034-2-linchengming884@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 | 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