From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f73.google.com (mail-ej1-f73.google.com [209.85.218.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 6B3703246F6 for ; Thu, 20 Nov 2025 10:01:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763632885; cv=none; b=RujJQgwB3I2PVr6JZmtO9HvlqV1VJhwfGKdLdp4toEqfzy7Kq0PQKqSxWgqjTBaw2hBt4uir8Tg/0dIc6nLNSGtktSq8tm66mLObPnOFg5rUmCpXcNw7PfO5HzMNK2KsKQ+3/W+CjrUt6xtw7DBbRfTZWisa8xly5jFiPwTGwNc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763632885; c=relaxed/simple; bh=0rQe3uK7gDnqTE7qLNAhjsBxcxYAYyf7idQ2Y8B+seI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=aZbPA7SqDxoP4Zp2FctdoAGsoeHuYny66s0ONYBrZ7Cs8khhTuzE8CWeiMKKjSE/0G8Yn0x+sQPfbiAcWxIrWe/ou9hF3H2TqpEnElG84dXi2Ur+WrLWPyzAn7d2E0tjJbm3dkJUbIQVy/vbBC9GOFTk+VcyzGZFx/8gXmsaiQQ= 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=TvFVJDRs; arc=none smtp.client-ip=209.85.218.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="TvFVJDRs" Received: by mail-ej1-f73.google.com with SMTP id a640c23a62f3a-b735400de44so67355366b.0 for ; Thu, 20 Nov 2025 02:01:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763632881; x=1764237681; 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=NyOK57fNMIWjMc20yORiuasC4OzpP1niZsLEWNwJLiQ=; b=TvFVJDRsV4M1TSSS52yOz/AEoQHgsXza4D95NKfTmgclIF5rpQT7/ga3qa0n6eajya pdP0B7zlZMy7d3+PCFkL/emxUgBssaEaHUFjtsEGKo417NuNTYDElr7TYk0vI+WOhDpe F3ff3fcjfsiI+dTVwh7+OwkYX2h52kv9GLWU5T9HOiCpxIsx/bcRnXFVE5T3oadn8KnA VtGKysZHP9w+G8Ao8jZxZBIvItAN6ZXBptgAV+JmM/0vB3BStKZIvWxC9sFYWtFNlZ6N ntRtf2VGRy1h7B8bMW5SodSgQX5wiFiz/Z2D8xiWxhKw/EI5HnZdvpLfVPJr0USd3W1L abjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763632881; x=1764237681; 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=NyOK57fNMIWjMc20yORiuasC4OzpP1niZsLEWNwJLiQ=; b=tTtwZymtBVny9gg9wn1L8ZO5+9L4QwDKuE8bX72WQ0k1XacYYnc42uEzPNUtl+HRhZ 2PPXHYhjE/mbmkL4ZJAe1nsJhf8O7GkF6tKz++NCW96gkiYeAvWjp3ehss27bmCWmOSp diBmGAVi0eXYoVx+cMEpSwsnEtjBvK5XlmGQsOXtMvehfxMxl2grIoBCAjhc+9BGJ7vj BjFm1GaufeT7NTfTl+VQp+KmhK/gB1kFMEXFXSaQbCIL5rawomD+UEqSBWx8GmJ2K0hL kKMWHNs2NWRDbGxmX6PIs2Cs57pcrZme0A0E9fduH/LLSlDfFg0+LYELuLZ0N/6q3qye RgQw== X-Forwarded-Encrypted: i=1; AJvYcCWoHFtLLXuwUVJn6bpxwQrfVApe/V2AlgBqDNzAinrH9FOn8AXiP/4V9LHTXkoKRMp6lS+wl4CCKuEQSBw=@vger.kernel.org X-Gm-Message-State: AOJu0YyVuK7RvZ9jkW1gC/xG+nQ2rblC3usgzvk3+OAJxuTcwYkBrz+q 9q7LIxfBv5451+id9H8mwKLnVVaOPqfMDlzeMe2kmHAmmrx9g2kR7mC558L8eV1QLLojWvOt+a8 CgSdN+N8XBDWOiG9/yg== X-Google-Smtp-Source: AGHT+IEnnqAVEVnkKPfR/rrErnFzOJ0xwzVV3Ukayy63sNeRekQHnJUoCxb8tjmScqYwkF6OJ1vqAgouGkXty8E= X-Received: from ejcvw8.prod.google.com ([2002:a17:907:a708:b0:b73:8115:9bbc]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a17:907:3f87:b0:b70:fd2f:6a46 with SMTP id a640c23a62f3a-b7655299929mr263016766b.20.1763632881657; Thu, 20 Nov 2025 02:01:21 -0800 (PST) Date: Thu, 20 Nov 2025 10:01:20 +0000 In-Reply-To: <20251119154824.339bfbeb47d149b041f15550@linux-foundation.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251117102310.58ecfdb4@canb.auug.org.au> <20251120101440.0f41ca9b@canb.auug.org.au> <20251119154824.339bfbeb47d149b041f15550@linux-foundation.org> Message-ID: Subject: Re: linux-next: build failure after merge of the mm-nonmm-unstable tree From: Alice Ryhl To: Andrew Morton Cc: Stephen Rothwell , Eric Dumazet , Linux Kernel Mailing List , Linux Next Mailing List , Miguel Ojeda , Wedson Almeida Filho Content-Type: text/plain; charset="utf-8" On Wed, Nov 19, 2025 at 03:48:24PM -0800, Andrew Morton wrote: > On Thu, 20 Nov 2025 10:14:40 +1100 Stephen Rothwell wrote: > > > Hi all, > > > > On Mon, 17 Nov 2025 10:23:10 +1100 Stephen Rothwell wrote: > > > > > > After merging the mm-nonmm-unstable tree, today's linux-next build > > > (x86_64 allmodconfig) failed like this: > > > > > > error[E0425]: cannot find function `rb_first` in crate `bindings` > > > --> rust/kernel/rbtree.rs:209:42 > > > | > > > 209 | next: unsafe { bindings::rb_first(&self.root) }, > > > | ^^^^^^^^ not found in `bindings` > > > > > > error[E0425]: cannot find function `rb_first` in crate `bindings` > > > --> rust/kernel/rbtree.rs:224:42 > > > | > > > 224 | next: unsafe { bindings::rb_first(from_mut(&mut self.root)) }, > > > | ^^^^^^^^ not found in `bindings` > > > > > > error[E0425]: cannot find function `rb_first` in crate `bindings` > > > --> rust/kernel/rbtree.rs:249:42 > > > | > > > 249 | let current = unsafe { bindings::rb_first(root) }; > > > | ^^^^^^^^ not found in `bindings` > > > > > > error[E0425]: cannot find function `rb_last` in crate `bindings` > > > --> rust/kernel/rbtree.rs:264:42 > > > | > > > 264 | let current = unsafe { bindings::rb_last(root) }; > > > | ^^^^^^^ help: a function with a similar name exists: `sg_last` > > > | > > > ::: rust/bindings/bindings_generated.rs:90155:5 > > > | > > > 90155 | pub fn sg_last(s: *mut scatterlist, arg1: ffi::c_uint) -> *mut scatterlist; > > > | --------------------------------------------------------------------------- similarly named function `sg_last` defined here > > > > > > error: aborting due to 4 previous errors > > > > > > For more information about this error, try `rustc --explain E0425`. > > > > > > Caused by commit > > > > > > 84aa8c5fc414 ("rbtree: inline rb_first()") > > > > > > I have reverted that commit and the following one for today. > > > > I am still reverting those commits. > > Thanks, I'll disable them for now. > > Alice, can you please help us with a fix? Simple patch follows: The diff Miguel shared should fix this issue. Let me know if you need a real patch. Alice