From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.14 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793092010; b=VPdz2IiWtBC+EVrcWSE9hfghTWKAbcGUxfqYdNIIfeLiWgy4A8vtlZogREtjcfO9YNT1 OQ16bIb+yCZCgnXKiTRQcBYETd3KwoUKnCvhoEM+Rwryezl167PPLR0fWx1xjEJaegDUM t7PhAf0h9mwAQdSnRCJKc0goqrponY7O3xHJGmVXTYOQKDvSMWt09niIzemIM5fAscLFs Y3SJOFHWeKh4Wy/PTRMHShUZ23pw5lEhtz9XHcQEiYga0m35gH+KjuX0F0ljWjt1DS64G 2lwR7mBnI0mrqKv7I30/PyFSLYW98ck59SYpb1RK4WE3tYzhDv13y0E41JXyo8gZDYg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793092010; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=SeLz6UNnjn09dX2sNJcs/RWFBCrPlJ5rguNKiRoIrmo=; b=rO8JugnFLiyBCDaJGMw56ZXdlS78cVVbRskpWmpDOmgQzh86LugR7BMPRGrnJYEyKpb8 ED8pxVK05JnlBoBU1CAboKxnR09SMZLqyQ2tUaA3o7MNynEi2537SjBCz4F9mMCfM1zt4 mYYsRduqi2LtIiSQnMQqTVkpqfDMEF7eJiovNxFF9VjQM50h6qPXtHPs8kbQryR4602I5 A5Z/tKuXe2/LA/BpWPEAyzTui/7JdoKXsBiQaNIGw+4llI077yvniTBceMDmnpevJleWH iEBxUEjI9OcytlVn3AY1kE7Wfsns9mlzfTFVnuevg1SUlVfbstwql03wjkLl1KVsR0g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=B9k2sryY; arc=none smtp.remote-ip=192.198.163.14 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23E32606A31B; Tue, 27 Oct 2026 09:06:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 23E32606A31B 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, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=B9k2sryY DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1793092009; x=1824628009; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=RbhOKmBkGN8cJaPtRjwxG3ml66wPTPjYj6m1E74sTAo=; b=B9k2sryYszNZDwDLIrk1tNjR2jd0xx7wL8mQUNop4mBHY3Jk8NpADL9k pdIc/mA/KE1+Dg5GmfqPcUS0XzCCD5fXOXlBpxlLDytxbLqdwRPcJOoow KrOSeb6j0WtKxVIlItkBQe+HwCP41F/Sc++zCRvHeeFQxncUTi+zR+Pil vjd7MIJA+O4nb4qvW+Zjoeq9rNqW3Pk8fM1UKhOilt2YmnzjrLIDYUxcE 4G6g9iEXjmoFe1owS1LEroiSLb+EiOGFJZqXEwNWqPrE5AeGwaK55PJYW 71JXxv8M6AfhF949cai6RhfnntsP+s0HN+um3G0pl4THXm13O81V0vIUC A==; X-CSE-ConnectionGUID: g8TycNxGQv2BLrr2LynOfw== X-CSE-MsgGUID: l49YtbsMRQ6BHW1w/iX4pg== X-IronPort-AV: E=McAfee;i="6800,10657,11947"; a="1817360" X-IronPort-AV: E=Sophos;i="6.27,180,1787036400"; d="scan'208";a="1817360" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2026 02:06:48 -0700 X-CSE-ConnectionGUID: g3fHArBCSBOoeRfubKcGFw== X-CSE-MsgGUID: SdOrAe6rTB2E9HnHYzcd4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,180,1787036400"; d="scan'208";a="5006114" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 27 Oct 2026 02:06:46 -0700 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xLd8k-00000000X3U-2wia; Tue, 27 Oct 2026 09:06:42 +0000 Date: Tue, 27 Oct 2026 17:06:38 +0800 From: kernel test robot To: Yu Zhang , Srinivas Kandagatla Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Bartosz Golaszewski , linux-kernel@vger.kernel.org, Yu Zhang Subject: Re: [PATCH] nvmem: core: balance the layout module ref in nvmem_cell_get_from_lookup() Message-ID: <202610271602.GRxskiKw-lkp@intel.com> References: <20261026125709.73500-1-yuz08559@gmail.com> X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261026125709.73500-1-yuz08559@gmail.com> Hi Yu, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v7.3 next-20261026] [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/Yu-Zhang/nvmem-core-balance-the-layout-module-ref-in-nvmem_cell_get_from_lookup/20261026-225709 base: linus/master patch link: https://lore.kernel.org/r/20261026125709.73500-1-yuz08559%40gmail.com patch subject: [PATCH] nvmem: core: balance the layout module ref in nvmem_cell_get_from_lookup() config: hexagon-randconfig-1001-20261027 (https://download.01.org/0day-ci/archive/20261027/202610271602.GRxskiKw-lkp@intel.com/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 186e70f4e6a1521991d2340d3d49b23b1beff11f) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261027/202610271602.GRxskiKw-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/202610271602.GRxskiKw-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/nvmem/core.c:1327:12: warning: function 'nvmem_layout_module_get_optional' has internal linkage but is not defined [-Wundefined-internal] 1327 | static int nvmem_layout_module_get_optional(struct nvmem_device *nvmem); | ^ drivers/nvmem/core.c:1356:8: note: used here 1356 | if (nvmem_layout_module_get_optional(nvmem)) { | ^ 1 warning generated. vim +/nvmem_layout_module_get_optional +1327 drivers/nvmem/core.c 1326 > 1327 static int nvmem_layout_module_get_optional(struct nvmem_device *nvmem); 1328 static void nvmem_layout_module_put(struct nvmem_device *nvmem); 1329 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki