From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4378526981E for ; Mon, 1 Dec 2025 10:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764583527; cv=none; b=uQe1I2+tNgfx6cNCnKnjSMVx+G4+IEdt3NgwDGD2NcHxl07JiFbpdnJ25X5P+iUiTFWFNgJOM1DQj/uaYpqGh5vC4pqiqRAA977RCG81odm2QjzR6Z5jVSL7DHGOrapSrNjj9rMSjN2irenqAX6M+3IYm4QHa/DIGSWOXZWsil0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764583527; c=relaxed/simple; bh=QW3C2xm8tqFI7avgttrCxfznYuX1TOfUYkhhTrUEOm4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=Ik/HbCVo1zAVSwlCRrvTM467c9nJ1ThwrlR8QZYZ9kgRvQHmv4v+pii5jeqN5hJchEj/jQIi61RAb6q4oUaCYMNyGoONxoN1qeJLbHSm1wjMuhH2u2Olt33Z6bxddjI/+jW0oqI6L40OVVOvCuNNDguIctXzF4EiaOXNXXKDJzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=bkPVmYfp; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="bkPVmYfp" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-4779b432aecso21802585e9.0 for ; Mon, 01 Dec 2025 02:05:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764583525; x=1765188325; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=hokwNu6IaYMbmwrE0WQgJHcf6cEHAYouUTPDe+4BPQQ=; b=bkPVmYfpxeCVq0zk/GoY0u7EFOHFkE7eBseZ2XGABbmFbSVXS7ITSiJ3MSqZtX+7jV 8SwIMIx0Cl3w7ZFmfUD7r/4IbzLC9qsFFC1KltMkSt4b5r0C4cfHx/yy5yuUFPpLvVFw fiojE8Dn49P4Bwj/k+lD3pNHXHUZx7r+U5dFsGmBbJEJ4TYF1bKH2ZjginNYWL0ZEiTR 5fxEmvjO2JTFB96zR5GqRpKdrVxYYRu/QXsz2q83EP8D+GZgG3lVq6B+53OkZIgXikVt xIjwC3R1STW/dEnrMHTRLYFWvOtjAp4U/rPvJEh8ofr8CgI4XE2MR1A/yH1fsuS8FCI7 zqYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764583525; x=1765188325; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hokwNu6IaYMbmwrE0WQgJHcf6cEHAYouUTPDe+4BPQQ=; b=CASCEYuN5WOOMAogyAieveYFNWg13rRXdc+eh86inJY52IAXjDWWi8mvFCVF0mYHxh GfN3jJkRYIjxzIHF6WnZWsOmrlwkfiQaQlEvYUuPqnQHzW/xUBG6+g8mN/wWanGDZLQL xXg1z2aQRs8V5N9Pq6rFSF1PNYa0GDwRucw6B/nfEhKfoxQ0PbP0lhGYt3fAUmXOApgm uOSACL1HinRdgJHwxJ237OhfVDCNYtndotZUNoI0whEJw7+3F8M2BxuLn6lOb7i2V2D5 5irlXpm2xFJBS4nE7RKV+vWhqQhIc9ibKyJwAQus1XRAI1YGifV/mnDvr/2EDllojgcx OUfw== X-Forwarded-Encrypted: i=1; AJvYcCXJ6W1cJcyyN4jNvSiib5rH1XW1nLW9QH+53zVl9cSc/GPJw920N52L21z3+Z16vhje28Q9upUXdIwSqo4=@vger.kernel.org X-Gm-Message-State: AOJu0Yz9HxPm3dqrdoavhF4LySx+ky4os1EUk/QQIH3tnne7D3YrbYVa 6mnk95ou5DY4oaaKpDqGvfegXwcDNujv5i3zcmnrUj9njFbxJxbRXCT/foJ495nhMC1pO+5PBkc r+6yvLWdBpIWMBU3gnQ== X-Google-Smtp-Source: AGHT+IEuJJnomH91tNowPcxingIui9TDaWLt/RdsMUdASyq1y4L96SoNxyEjJqbWxxwvW7pcu66mrnWs+f8ljRM= X-Received: from wmgp1.prod.google.com ([2002:a05:600c:2041:b0:477:9f92:40da]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:4e93:b0:471:9da:5232 with SMTP id 5b1f17b1804b1-477c10e1ccdmr386141335e9.15.1764583524562; Mon, 01 Dec 2025 02:05:24 -0800 (PST) Date: Mon, 1 Dec 2025 10:05:23 +0000 In-Reply-To: <202511300859.35d9m0hj-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <202511300859.35d9m0hj-lkp@intel.com> Message-ID: Subject: Re: error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl` From: Alice Ryhl To: Greg Kroah-Hartman Cc: kernel test robot , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Sun, Nov 30, 2025 at 08:47:52AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 6bda50f4333fa61c07f04f790fdd4e2c9f4ca610 > commit: f893691e742688ae21ad597c5bba13bef54706cd rust: miscdevice: add base miscdevice abstraction > date: 1 year, 2 months ago > config: arm64-randconfig-r073-20251130 (https://download.01.org/0day-ci/archive/20251130/202511300859.35d9m0hj-lkp@intel.com/config) > compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project b3428bb966f1de8aa48375ffee0eba04ede133b7) > rustc: rustc 1.88.0 (6b00bc388 2025-06-23) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251130/202511300859.35d9m0hj-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/202511300859.35d9m0hj-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> error[E0560]: struct `bindings::file_operations` has no field named `compat_ioctl` > --> rust/kernel/miscdevice.rs:161:13 > | > 161 | compat_ioctl: if T::HAS_COMPAT_IOCTL { > | ^^^^^^^^^^^^ `bindings::file_operations` does not have this field > | > = note: available fields are: `_address` Hmm, that's weird. Use of compat_ioctl in this file is guarded behind CONFIG_COMPAT, which should be sufficient. And this doesn't seem to just be another UML failure. Any ideas? Alice