From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 60A1C137E; Sat, 21 Sep 2024 14:52:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726930378; cv=none; b=U3bnNbFarpYIgn/7ZX3i7ETSM0RjX6+E/LDRkSw9Am6Sr5bzo2aYvx9ZI01FsS6XkSJ8z/CYytsONT8BfK2nnyJIKaguAss6Mz95W2Y4PyBSydUnxtry/DPHprESyCkXV99xdz+yCRaXw/ZxtMrCE4Fev64a3866V3t3CF1Mk5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726930378; c=relaxed/simple; bh=lG1SRfaLD1UdbyIEUgDKyHqo7ZP/pLR83fqNtNPYI0Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q7KOifDsJVFGna1rka3U1fLJY+6hnvxmzkeyAmrxGPcu3BhaG1OR4ArwjxQaOQqtH3/U+UkkR6iYYyymyFtQO+go5CFgLGr71s1ubgQ7z8VcVVHsCrnG90NvjPA/YO2PllIX4dtshJcKfn+M/lMnCzRAz9YfOXaqxg5byzM1dIA= 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=NVhTOdH5; arc=none smtp.client-ip=192.198.163.19 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="NVhTOdH5" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1726930377; x=1758466377; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=lG1SRfaLD1UdbyIEUgDKyHqo7ZP/pLR83fqNtNPYI0Q=; b=NVhTOdH5PgD/RVRX5FbJiHXhXXEdBCJ1LP4IoJA+bENWPPFg6U/7o3Lk DD1LVMHKlDq7tcfqabumLfDpIAKT9WmvlTmAkBWFbCTfZDkRnn1K+3HXN z7FiZ+ZZVt3GMfIaXkCQC3eBJ2X9L3KDOYbPKP5l+0PBwh3jaP2w+Enan qR4I+t+fcgcvVRJpquWMBmmZs2p9TudjqxyPUdkdJoCz9wtSK09ts7+EF RWSxFULNBI4XoQpeDCigPmcuqF+71KtfQimASByGhFZVx5SUKX3bJRNSe TSqHpGo+mTFPAK8qnkm+WhhQ6IiQVr689PgAvbOm8ujgqfY97u8qIa25z A==; X-CSE-ConnectionGUID: WRRKVO9QQ2yKvx0tUnO+OQ== X-CSE-MsgGUID: VQ6SlsUTS0Om5BCgFnythg== X-IronPort-AV: E=McAfee;i="6700,10204,11202"; a="25444909" X-IronPort-AV: E=Sophos;i="6.10,247,1719903600"; d="scan'208";a="25444909" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2024 07:52:57 -0700 X-CSE-ConnectionGUID: scy/9CAcSzW/WW2J6fP1KA== X-CSE-MsgGUID: OFFCUvr+TEG1zg49RKe03w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,247,1719903600"; d="scan'208";a="75379106" Received: from lkp-server01.sh.intel.com (HELO 53e96f405c61) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 21 Sep 2024 07:52:51 -0700 Received: from kbuild by 53e96f405c61 with local (Exim 4.96) (envelope-from ) id 1ss1Td-000FVD-0O; Sat, 21 Sep 2024 14:52:49 +0000 Date: Sat, 21 Sep 2024 22:52:41 +0800 From: kernel test robot To: Lyude Paul , rust-for-linux@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, Danilo Krummrich , airlied@redhat.com, Ingo Molnar , Will Deacon , Waiman Long , Peter Zijlstra , Thomas Gleixner , linux-kernel@vger.kernel.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Martin Rodriguez Reboredo , Valentin Obst Subject: Re: [PATCH v2 1/1] rust: sync: Add Lock::from_raw() for Lock<(), B> Message-ID: <202409212236.CKCTlTCJ-lkp@intel.com> References: <20240916231817.643934-4-lyude@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240916231817.643934-4-lyude@redhat.com> Hi Lyude, kernel test robot noticed the following build warnings: [auto build test WARNING on a2f11547052001bd448ccec81dd1e68409078fbb] url: https://github.com/intel-lab-lkp/linux/commits/Lyude-Paul/rust-sync-Add-Lock-from_raw-for-Lock-B/20240917-071956 base: a2f11547052001bd448ccec81dd1e68409078fbb patch link: https://lore.kernel.org/r/20240916231817.643934-4-lyude%40redhat.com patch subject: [PATCH v2 1/1] rust: sync: Add Lock::from_raw() for Lock<(), B> config: x86_64-randconfig-104-20240921 (https://download.01.org/0day-ci/archive/20240921/202409212236.CKCTlTCJ-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240921/202409212236.CKCTlTCJ-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/202409212236.CKCTlTCJ-lkp@intel.com/ All warnings (new ones prefixed by >>): >> warning: unused import: `mem` --> rust/kernel/sync/lock.rs:10:74 | 10 | use core::{cell::UnsafeCell, marker::PhantomData, marker::PhantomPinned, mem}; | ^^^ | = note: `#[warn(unused_imports)]` on by default -- >> warning: unused import: `prelude` --> rust/kernel/sync/lock.rs:9:38 | 9 | use crate::{init::PinInit, pin_init, prelude::*, str::CStr, types::Opaque, types::ScopeGuard}; | ^^^^^^^ -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki