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 8E429175A5; Wed, 12 Jun 2024 21:24:15 +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=1718227457; cv=none; b=qFLMQWjx+o+QPSSHOk+8a+3MbAWMXuMbVei/N4I7H5FoPKjCh0ic3zDCT4ZRLKZH8mKSDhMLLgd1/b3l/LKsSb4ls/Uq+593Z6Zwh3R/R1/UZ0ZOWz+wL9SAFmoKue5sgKrZcdPmG0VdlH0FZWRcnd/O7NfEAt7CPTJ/r/2uwxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718227457; c=relaxed/simple; bh=/PdC9bYF2lDp3zBv4EiDku23lZNz9ClJOma1Ss23JUY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=IFbEJd4PPzFt/9bqVxbsgn2Thk/5v6lXVlSfl4Z+ub1mL6Ra5yfONQoDtWbM/o7WgV1ZKmaBm/m2e7EsT0zk6aDiQ+lx70W0q83P9E+6FdHCYOJsHL88y6hwIHia9KZISOvGq6lwnZ1cKOq+B5/juYWMXT5OevjESzb2uC73njA= 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=DyPgKF1o; 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="DyPgKF1o" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718227456; x=1749763456; h=date:from:to:cc:subject:message-id:mime-version; bh=/PdC9bYF2lDp3zBv4EiDku23lZNz9ClJOma1Ss23JUY=; b=DyPgKF1od2rakNAxHTcmJUW5QdTa4IRfbxDzZm9kNgrzLfKgYBoKOdM1 XtJlSftSYyEq0X2yMEzQZ1r1x/NMs9eIbWUzalF9cvGFahCb3ycZNfMua M21S8AQA+K0nc2rs/f1fbxL0pn8m5xWkivIl5RJ4hLAjwbilQ7zCFJtRS e5YGogP4oExRQDr2VciTKvZettILeZax+Of5IE0JAb2/Rw/Dr2ehJRdgU bOcKWIE6JvYCvhVGjgOyPkWyBmHcfCRHlsjn/1+27mkt+aJ17yAbux0Jq gjk7Z0qesv5k+IqLRQkAZd/J93caPUSzdiK3ODGAFQEyMYNK1FGwaV8W6 g==; X-CSE-ConnectionGUID: oVvwct25QXCMb8eeinqLug== X-CSE-MsgGUID: /ZNO/6pMQQmPHZMwhnvxyg== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="17940590" X-IronPort-AV: E=Sophos;i="6.08,234,1712646000"; d="scan'208";a="17940590" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 14:24:15 -0700 X-CSE-ConnectionGUID: 4ZrWRg6aRvWROyp//YV5qA== X-CSE-MsgGUID: ygFPzSiBRMG118XbUwi4mg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,234,1712646000"; d="scan'208";a="44304653" Received: from lkp-server01.sh.intel.com (HELO 628d7d8b9fc6) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 12 Jun 2024 14:24:13 -0700 Received: from kbuild by 628d7d8b9fc6 with local (Exim 4.96) (envelope-from ) id 1sHVRz-0001vl-1d; Wed, 12 Jun 2024 21:24:11 +0000 Date: Thu, 13 Jun 2024 05:23:51 +0800 From: kernel test robot To: Wedson Almeida Filho Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, Danilo Krummrich Subject: [drm-misc:topic/rust-drm 5/21] error[E0425]: cannot find value `THIS_MODULE` in the crate root Message-ID: <202406130541.ArC78zvs-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: git://anongit.freedesktop.org/drm/drm-misc topic/rust-drm head: 8f5d38cf42672216b6162952b8ad13a9b15ba78c commit: 456e8d5810088a0b3ded31a3936062bab3984e86 [5/21] rust: introduce `InPlaceModule` config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20240613/202406130541.ArC78zvs-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240613/202406130541.ArC78zvs-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/202406130541.ArC78zvs-lkp@intel.com/ All errors (new ones prefixed by >>): >> error[E0425]: cannot find value `THIS_MODULE` in the crate root --> rust/doctests_kernel_generated.rs:1700:1 | 1700 | / kernel::module_phy_driver! { 1701 | | drivers: [PhySample], 1702 | | device_table: [ 1703 | | DeviceId::new_with_driver::() ... | 1708 | | license: "GPL", 1709 | | } | |_^ not found in the crate root | = note: this error originates in the macro `$crate::prelude::module` which comes from the expansion of the macro `kernel::module_phy_driver` (in Nightly builds, run with -Z macro-backtrace for more info) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki