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 2B44EC433FE for ; Wed, 5 Jan 2022 07:40:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238151AbiAEHke (ORCPT ); Wed, 5 Jan 2022 02:40:34 -0500 Received: from mga14.intel.com ([192.55.52.115]:58613 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238130AbiAEHkc (ORCPT ); Wed, 5 Jan 2022 02:40:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641368432; x=1672904432; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=40Lnf+baSm67V658AjUqQ6irVu4JpmrkRKU6Zn0OZpI=; b=ZaFtRvqOOzqdDDL3912gd5110gpGg6VKbx9mlj1qE+YZyrDk+TINupIw GN5Elvh6C/vPh2ztbD9QQqnK5itGG19AQKrqu7IAvWMTSYaIoZjYAtt/o nUPm5HjzWqEwbLA5wGMmAupZ/gQ3OWKUunWs7cOjSM9GcYQw/EWiOSI8k pfpP1E1RcdcnnLJqd4ICZgxsaK9JIvaMlkALZQjI4n2I97nxseU7IbjSd ZXra3Tzz8aojclwh8WsRru3Irw/6NSAVBl3K4/E0uPdwexNeIn2MuLcSw aHX9B0yKw8zjIFfSkvBTmtWM2kcRPTyLme73Edi+K/dRxLxGpg/++98Ec w==; X-IronPort-AV: E=McAfee;i="6200,9189,10217"; a="242595164" X-IronPort-AV: E=Sophos;i="5.88,262,1635231600"; d="scan'208";a="242595164" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2022 23:40:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,262,1635231600"; d="scan'208";a="526532002" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 04 Jan 2022 23:40:29 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n50uK-000GNa-Of; Wed, 05 Jan 2022 07:40:28 +0000 Date: Wed, 5 Jan 2022 15:40:17 +0800 From: kernel test robot To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Srinivas Kandagatla , Rob Herring , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: kbuild-all@lists.01.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Subject: Re: [PATCH V2 3/3] nvmem: add driver handling U-Boot environment variables Message-ID: <202201051502.yOxThsL0-lkp@intel.com> References: <20211230090449.11808-3-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211230090449.11808-3-zajec5@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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 robh/for-next] [also build test ERROR on mtd/mtd/next mtd/mtd/fixes linus/master v5.16-rc8] [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] url: https://github.com/0day-ci/linux/commits/Rafa-Mi-ecki/mtd-core-call-devm_of_platform_populate-for-MTD-devices/20211230-170531 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: nios2-randconfig-r013-20220105 (https://download.01.org/0day-ci/archive/20220105/202201051502.yOxThsL0-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/52f6be4712d04b927cd356dd95940bd76f1f5b97 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Rafa-Mi-ecki/mtd-core-call-devm_of_platform_populate-for-MTD-devices/20211230-170531 git checkout 52f6be4712d04b927cd356dd95940bd76f1f5b97 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): nios2-linux-ld: drivers/nvmem/u-boot-env.o: in function `u_boot_env_read': u-boot-env.c:(.text+0x2c): undefined reference to `mtd_read' u-boot-env.c:(.text+0x2c): relocation truncated to fit: R_NIOS2_CALL26 against `mtd_read' nios2-linux-ld: drivers/nvmem/u-boot-env.o: in function `u_boot_env_parse': u-boot-env.c:(.text+0x2d4): undefined reference to `mtd_read' u-boot-env.c:(.text+0x2d4): relocation truncated to fit: R_NIOS2_CALL26 against `mtd_read' >> nios2-linux-ld: u-boot-env.c:(.text+0x314): undefined reference to `mtd_read' u-boot-env.c:(.text+0x314): relocation truncated to fit: R_NIOS2_CALL26 against `mtd_read' nios2-linux-ld: drivers/nvmem/u-boot-env.o: in function `u_boot_env_probe': u-boot-env.c:(.text+0x4ec): undefined reference to `get_mtd_device_nm' u-boot-env.c:(.text+0x4ec): relocation truncated to fit: R_NIOS2_CALL26 against `get_mtd_device_nm' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org