Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2C28C6FD1D for ; Sat, 18 Mar 2023 00:06:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230002AbjCRAGe (ORCPT ); Fri, 17 Mar 2023 20:06:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229879AbjCRAGc (ORCPT ); Fri, 17 Mar 2023 20:06:32 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F8582C67D; Fri, 17 Mar 2023 17:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679097988; x=1710633988; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=ReMNAetjuziIagyWXWP1NZ5E1cfEyOq4UIZ1mhXddqs=; b=JKQMSYSsENq1ypATxGGrxDdUMZvCxUQZPpWPlGc52qEwTl780b2X+cfU xwDX7xWsWmOxHz1aIV7PB1zFsDgrKmqe7YSt7u/IPwGfXrQc33J9IY7KZ Heay1chKPpbENH/ZElS/0OUuDFKDQZvD6+gQhYAO0AlUMH1WK1TQWIjXe ckEYiNYr8Kd6WpCPY372egcV7OmRCxBwWHlvbCnZQnovcZLdRx5mGfIUq 40Ia1dODW4pO/lG515786DNE0UrrEKOud0HdHV8qv/26+0jmmAneiJcIa qf3/45jrOrZ/6cMuw429k9OK3KZpneq1Fsa+SUtTCGaluCUpU3asmIic0 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10652"; a="339926935" X-IronPort-AV: E=Sophos;i="5.98,270,1673942400"; d="scan'208";a="339926935" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2023 17:06:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10652"; a="744734167" X-IronPort-AV: E=Sophos;i="5.98,270,1673942400"; d="scan'208";a="744734167" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 17 Mar 2023 17:06:24 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pdK5Y-0009fu-00; Sat, 18 Mar 2023 00:06:24 +0000 Date: Sat, 18 Mar 2023 08:06:16 +0800 From: kernel test robot To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla Cc: oe-kbuild-all@lists.linux.dev, Greg Kroah-Hartman , Miquel Raynal , Michael Walle , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH V4 3/4] nvmem: core: export nvmem_add_cells_from_of() Message-ID: <202303180709.WSD6mSsu-lkp@intel.com> References: <20230317132620.31142-4-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230317132620.31142-4-zajec5@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi RafaƂ, I love your patch! Yet something to improve: [auto build test ERROR on next-20230317] [cannot apply to robh/for-next krzk-dt/for-next char-misc/char-misc-testing char-misc/char-misc-next char-misc/char-misc-linus linus/master v6.3-rc2 v6.3-rc1 v6.2 v6.3-rc2] [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/Rafa-Mi-ecki/dt-bindings-nvmem-layouts-add-fixed-layout/20230317-212948 patch link: https://lore.kernel.org/r/20230317132620.31142-4-zajec5%40gmail.com patch subject: [PATCH V4 3/4] nvmem: core: export nvmem_add_cells_from_of() config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20230318/202303180709.WSD6mSsu-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/70d21b7988db0cad28a2cb4b0d7f5d77d587a51f git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Rafa-Mi-ecki/dt-bindings-nvmem-layouts-add-fixed-layout/20230317-212948 git checkout 70d21b7988db0cad28a2cb4b0d7f5d77d587a51f # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/kernel/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303180709.WSD6mSsu-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/rtc.h:18, from arch/powerpc/kernel/time.c:48: >> include/linux/nvmem-provider.h:230:12: error: 'nvmem_add_cells_from_of' defined but not used [-Werror=unused-function] 230 | static int nvmem_add_cells_from_of(struct nvmem_device *nvmem, struct device_node *np) | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/nvmem_add_cells_from_of +230 include/linux/nvmem-provider.h 229 > 230 static int nvmem_add_cells_from_of(struct nvmem_device *nvmem, struct device_node *np) 231 { 232 return -EOPNOTSUPP; 233 } 234 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests