From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 61C78272E7B; Thu, 2 Oct 2025 10:28:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759400883; cv=none; b=ghDtoNPABN4X26XFhiYTU98hLX2oXunoM1S9idqs7G5fvAiewuAqOcFqZQ4XtzLsG4Ah3638Ls5Vv5GElqG5dn4jI7UhyofMWaS5ouXuJufBRL66ORpErdszQWDVlzuk1wLwqQSgLHHLJrCVucz3KedCV7rDwUKS+YBjQ+pjVV0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759400883; c=relaxed/simple; bh=d1/mluIS30Lu5giQZYTMX0VJ/90APcS2qriKrQpYrFk=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=uN6DoGHsqz99sq4ZXcXcHI3NCpbPTtTs2iMed1ZpFKTO4Ywpv7tYz1eg66oCHKmuLy0GGE1NMuxGHWD7CKelH1a7p5I2u9NId7BNFYCzsjJxG8U1xsJifXJx/xecvp27BX6EKTNpqbegg4EP8nhm0XybwSr1jF78kD1dUwWDKiY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Nx/hXwd+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Nx/hXwd+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB817C4CEF4; Thu, 2 Oct 2025 10:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759400882; bh=d1/mluIS30Lu5giQZYTMX0VJ/90APcS2qriKrQpYrFk=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=Nx/hXwd+2LQZiiLh8XsG8P7K9FNALozCrWgRpdCFfnNtCiaI/gXGOJxTvXO8c2uOM zd8QPRF1CNtxzWAZXqfcNokMPMQaM7Vagn6EZk22z1m60+OuiNbGtRAUkokN0rGJN8 gKvFzZ+z3DjYrUw8bRkBZporMg6U46LE2QVZebKFWTChNvid4iDoxFOvMRERAwI1Wo zb5BeLCI2ObSAU4KhJKynvEU7BjjYHviCCqiuLQBzutUFTbLcU1n8yPKzPcRR6NnD/ REedEsaMgSZ9uOoZUMmf1T5NsJlGwxcfR7nrXoPfPBGPrXueriX+HnGnIJ3IgRoC2v b+VnCpL67Vi9A== Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 02 Oct 2025 12:27:53 +0200 Message-Id: Subject: Re: [PATCH] rust: bindings: add `rust_helper_wait_for_completion` helper function Cc: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , To: "Guangbo Cui" <2407018371@qq.com> From: "Danilo Krummrich" References: <20251002081247.51255-37-byungchul@sk.com> In-Reply-To: On Thu Oct 2, 2025 at 12:06 PM CEST, Guangbo Cui wrote: > The DEPT patch series changed `wait_for_completion` into a macro. > Because bindgen cannot handle function-like macros, this caused > Rust build errors. Add a helper function to fix it. Good catch! Given that the latest version of this series was just posted, please squash= this fix into patch "dept: assign unique dept_key to each distinct wait_for_completion() caller" [1]. Thanks, Danilo [1] https://lore.kernel.org/all/20251002081247.51255-37-byungchul@sk.com/