From mboxrd@z Thu Jan 1 00:00:00 1970 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65A18CCF9F8 for ; Wed, 5 Nov 2025 21:47:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A272D10E327; Wed, 5 Nov 2025 21:47:46 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="dyRuzY5N"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by gabe.freedesktop.org (Postfix) with ESMTPS id 59B7A10E327; Wed, 5 Nov 2025 21:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1762379265; x=1793915265; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5xzsc/7T1gL0sCj7nOJv8DaIl+OnW9UaT5raFEotIik=; b=dyRuzY5NsE0BGgYmH6S4cB0xAux1CBAYY//BxHbtcF6cxrnkGHdwWuVm OBeMyimS75cInokLIfWRHD6OfVUEd1d1PjQQIBegfzgtGg4hlg3OLiwKg Y2IcIRcgT8JVLhGh/VauWZN4Z9rtLy5ccY2K56piozw14OOPwnLpLo9fC gijOf/Pk9DLOGODbynpqcF+Qzw3/U5fYBvM4zNI+j18/HrjEjtjh4nb0q W9ZfDVCSfDHaiX2NZqYLHV51UMt26w5kJ8PQjqv675ssCUUPzyR0Yupi1 TocERRoXh9S3UEpP2W8WTubfP1g3bnVEfBuVGhjHY79GdsfWXvtCKJWYx w==; X-CSE-ConnectionGUID: cbxkoDT2TEm7NvfZnzxPKw== X-CSE-MsgGUID: PaivUNfzQ8iUh8G1Lokelg== X-IronPort-AV: E=McAfee;i="6800,10657,11604"; a="75858877" X-IronPort-AV: E=Sophos;i="6.19,282,1754982000"; d="scan'208";a="75858877" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2025 13:47:45 -0800 X-CSE-ConnectionGUID: 7giLDUKZQjShi4WYLTI2Tw== X-CSE-MsgGUID: lJP7Z8i6Qzydv1uaesmqjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,282,1754982000"; d="scan'208";a="191859112" Received: from lkp-server02.sh.intel.com (HELO 66d7546c76b2) ([10.239.97.151]) by fmviesa005.fm.intel.com with ESMTP; 05 Nov 2025 13:47:38 -0800 Received: from kbuild by 66d7546c76b2 with local (Exim 4.96) (envelope-from ) id 1vGlLX-000TA8-1m; Wed, 05 Nov 2025 21:47:20 +0000 Date: Thu, 6 Nov 2025 05:47:03 +0800 From: kernel test robot To: Alexandre Courbot , Luis Chamberlain , Russ Weight , Danilo Krummrich , Greg Kroah-Hartman , "Rafael J. Wysocki" , Alice Ryhl , David Airlie , Simona Vetter , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Trevor Gross , FUJITA Tomonori Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, Alexandre Courbot Subject: Re: [PATCH v2 1/3] firmware_loader: make RUST_FW_LOADER_ABSTRACTIONS select FW_LOADER Message-ID: <202511060527.knZk5HZP-lkp@intel.com> References: <20251105-b4-select-rust-fw-v2-1-156d9014ed3b@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251105-b4-select-rust-fw-v2-1-156d9014ed3b@nvidia.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Alexandre, kernel test robot noticed the following build errors: [auto build test ERROR on 6553a8f168fb7941ae73d39eccac64f3a2b9b399] url: https://github.com/intel-lab-lkp/linux/commits/Alexandre-Courbot/firmware_loader-make-RUST_FW_LOADER_ABSTRACTIONS-select-FW_LOADER/20251105-160437 base: 6553a8f168fb7941ae73d39eccac64f3a2b9b399 patch link: https://lore.kernel.org/r/20251105-b4-select-rust-fw-v2-1-156d9014ed3b%40nvidia.com patch subject: [PATCH v2 1/3] firmware_loader: make RUST_FW_LOADER_ABSTRACTIONS select FW_LOADER config: x86_64-kexec (attached as .config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251106/202511060527.knZk5HZP-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/202511060527.knZk5HZP-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/base/firmware_loader/Kconfig:41: syntax error drivers/base/firmware_loader/Kconfig:41: invalid statement drivers/base/firmware_loader/Kconfig:42: invalid statement drivers/base/firmware_loader/Kconfig:43:warning: ignoring unsupported character '.' drivers/base/firmware_loader/Kconfig:43: unknown statement "This" make[3]: *** [scripts/kconfig/Makefile:85: oldconfig] Error 1 make[2]: *** [Makefile:742: oldconfig] Error 2 make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'oldconfig' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'oldconfig' not remade because of errors. -- >> drivers/base/firmware_loader/Kconfig:41: syntax error drivers/base/firmware_loader/Kconfig:41: invalid statement drivers/base/firmware_loader/Kconfig:42: invalid statement drivers/base/firmware_loader/Kconfig:43:warning: ignoring unsupported character '.' drivers/base/firmware_loader/Kconfig:43: unknown statement "This" make[3]: *** [scripts/kconfig/Makefile:85: olddefconfig] Error 1 make[2]: *** [Makefile:742: olddefconfig] Error 2 make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'olddefconfig' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'olddefconfig' not remade because of errors. vim +41 drivers/base/firmware_loader/Kconfig 3 4 config FW_LOADER 5 tristate "Firmware loading facility" if EXPERT 6 select CRYPTO_LIB_SHA256 if FW_LOADER_DEBUG 7 default y 8 help 9 This enables the firmware loading facility in the kernel. The kernel 10 will first look for built-in firmware, if it has any. Next, it will 11 look for the requested firmware in a series of filesystem paths: 12 13 o firmware_class path module parameter or kernel boot param 14 o /lib/firmware/updates/UTS_RELEASE 15 o /lib/firmware/updates 16 o /lib/firmware/UTS_RELEASE 17 o /lib/firmware 18 19 Enabling this feature only increases your kernel image by about 20 828 bytes, enable this option unless you are certain you don't 21 need firmware. 22 23 You typically want this built-in (=y) but you can also enable this 24 as a module, in which case the firmware_class module will be built. 25 You also want to be sure to enable this built-in if you are going to 26 enable built-in firmware (CONFIG_EXTRA_FIRMWARE). 27 28 config FW_LOADER_DEBUG 29 bool "Log filenames and checksums for loaded firmware" 30 depends on DYNAMIC_DEBUG 31 depends on FW_LOADER 32 default FW_LOADER 33 help 34 Select this option to use dynamic debug to log firmware filenames and 35 SHA256 checksums to the kernel log for each firmware file that is 36 loaded. 37 38 config RUST_FW_LOADER_ABSTRACTIONS 39 bool "Rust Firmware Loader abstractions" 40 depends on RUST > 41 select FW_LOADER=y 42 help 43 This enables the Rust abstractions for the firmware loader API. 44 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki