Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp393383rdb; Thu, 1 Feb 2024 11:27:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IEopqQ7RAtRnVfCDQNVvK4P+CLEXCnAHitVVfvQOqPq9dod4qjn/05O3z55CXg/eZ068SNC X-Received: by 2002:ac8:5bc1:0:b0:42a:abb2:8190 with SMTP id b1-20020ac85bc1000000b0042aabb28190mr7319127qtb.8.1706815646927; Thu, 01 Feb 2024 11:27:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706815646; cv=pass; d=google.com; s=arc-20160816; b=NIwODTo2iyC0heZATwU42g21fqOEfO79wv63OSOtvyxc1V3rm4fHb6Pn8alF00mG3k pbOSYWFTqg1rFlosCzACp5lmraP8DtZclQqQpcjx18kMnENcDsPrFF5FQyy8HitJj6rR QaWgjPKPXalYAaZ0TfVDGfNMhNB2NRqRMlsA/WQI1aiWy6kMqnlqvZzhwoQfekQtwkdd /0qLtnt0pReX2tmSWzZrn0CZ0cXvwz+Z+Z7WtZJwDmOXQ7N40llIHBy0qTANPRBAONv0 SJzSCR15YutlMcCEjcjxqrZmU86HuVVhQgGN0QkkcJeyCFYJ+OJNkrY6LVeuwMKYQqR/ 4+1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=oj3e2y9EpmbMl194n6alw6UOB7/daIK+PfuTYNJ05D0=; fh=Ds77fT/C3wpwi2wn9ilya4vK65EL+lB60PxQ6EtWCn0=; b=zC7H2Bej9PJWzTTP1VN4haGnSOVq7gffRM9ElkYPQOlqWvyoTPe4OBnMCIRwhq+10r JHAmBIqXqmii2yAMxV948LZ7OPAOvoIB+/zjEi9CLyrNjDQGy5neZvmJUj5in8SRyvbE 0l/Ft7j47kTPDVDrMzyDQVDh8G02QOjGmW4+JbH/zBHuGH+UqYCcYfnBDRVmm8eN2Z+2 doD9vDsfbgoLcHEZfUiJdnJeo0EtA9Ppq4LEaA/E5IboSO6NMoGXjvb2CTCv3mgIiYro +XPRRf47VZmQF6rUYJ7avNvLRKZJr6HFhvvj6nnVKEuwyELXOlu6Y8yob1/yXOkcpvYE zY4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m7TnBfjM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-48762-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUU9esvG8IVxBRl53hue33f+4zxBs2ymh84MChdMSacuraB64oR3fmkjF6GQNv5gn0fWIZg6crchqK+BZH4CV/QBPSh/mzxNsPwz3ImYA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t6-20020ac85886000000b0042bed440242si149417qta.660.2024.02.01.11.27.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:27:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48762-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=m7TnBfjM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-48762-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48762-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id AD9941C24B91 for ; Thu, 1 Feb 2024 19:27:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58E3D8528A; Thu, 1 Feb 2024 19:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="m7TnBfjM" Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (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 2FCD884FD3; Thu, 1 Feb 2024 19:27:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706815638; cv=none; b=ABEEz09AfuDBDEZerlhc6EMmsNtShSi05RZpAh6yFlYZ4hQtV38UgxzriH5neM5pvXhTyKLmXhhnaAvKgmsc4tVnsU3ysH4qyMGsRVsA9dIT3gXTd6kOD4pu/1tnFE/iCqIbHuFHWiv3r7AhUbY4lbarnuElTFUmunU3W6HutXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706815638; c=relaxed/simple; bh=6CwiqDr7FDp2bs1J3xgVDCcKosNF86VPvbUnyP6zuLg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=amxxewIxfKjhJLgDKC53z+9A0eRRO7F+lvY1OEFqD5T9kUMAOzsd7ZsGIchrht4dyAjRm9rKpB47uqKj3u7d4s1qu+crBC86Ie7xWseM8XZmSMFUpHVHvhrP6XdA/sygpMw+7kpXX/iYTKJcUPQS3t76CZ3ghQIXG/L7qHAaG/E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=m7TnBfjM; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6d9f94b9186so1114807b3a.0; Thu, 01 Feb 2024 11:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706815636; x=1707420436; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=oj3e2y9EpmbMl194n6alw6UOB7/daIK+PfuTYNJ05D0=; b=m7TnBfjMUqwjsmb2gOmTHtVYO5A5sLs5xXa3Xn8sxBsUV0JfRb8kkAfyKsFcRSY0QC Wk08NBRJt3MOZ3ZY9jjIhaKdsf7xIUBpKcam0TTDYP0emYqvhcYyGswyE/z6//WMVMMr CFiXrQzAo/c8gsmk76F2cGPuW4mOmpMqzVYHDOtuEd91FQ/L1IZs3zVINM7oSwL73VeK q4g+KMtTbnbCBzorwThI14ZnfFSL8LOnTfMZuOn0qnwh4T/DEm5ffBimREWY57oYOzeI b3bT1WFgf34EG7z/C2i/bsAJXbEDdPFk0MBjRFZl1SKnAEyUgLTPWKV+MaO//qhxXh2J k8lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706815636; x=1707420436; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oj3e2y9EpmbMl194n6alw6UOB7/daIK+PfuTYNJ05D0=; b=DW9jSENpxDyGxIyuU+lYkdDOtqYtFb//HgWaHrQM6Kp34gdFyKlWe7Dm5HtYPYFPIt W5JjzP7zaI2n7oJIfNMNV7Xv+PJ/OL2HE8SolOHpPG/kTcLmE7SGeZujQjYu6GiK1scu rzI31sX9Wc2FD3ZtXacH7tMOejsvwD7A7BjpfxdoTVT5lJ84fZYIdA8A3gP7psvsCkJP Xt8VMKcdHZnGxFnrtdjyadWUCsNVAHGMrlE630syA1G5/30PSNMEhdil7DQsT4EADEuM De+AghAf43S0iu//+j0+8vlHnB4EwXBeGZ738o+ZMvS1vPW2BE1IHz+30qrPVmnL7R6R khug== X-Gm-Message-State: AOJu0YyrpO+puue+UJIVRm4Tor6EsFls4Rz/3JJ5cgdRdKdIfr3HvmDp G/ZT+UPWGuC819LWCqMdBYcLKbptOtFmpi1xA61wNCc7r8bjNKvq X-Received: by 2002:aa7:8d4b:0:b0:6de:3833:425a with SMTP id s11-20020aa78d4b000000b006de3833425amr150947pfe.5.1706815636342; Thu, 01 Feb 2024 11:27:16 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU+RFWTDRMpESHATIM9+GebvVOYsYlINEeehtreTsfBsKgv2fzlThEityuR8FWsuCj6KWlJnb0OEOJzmQVsHmQTbMW0QZtkQzGRsdFnCSg50vr8fhumXNptlRpgWNWuClsD+5Lmf7dvnjRXMMmiIIczYCqnUApYvh5NMl4eAdR7aEvacn/mslYM0nluHKyE4C27b8gyPtsBC+iwqukWtMyatSfb1pg5afcTKXQnGJvWF+eYMpc+LHEZlqG3fNozxmrTOOZpNHQNRug3Ba+igXVtuiZs+ZTLYV+HTNisBEUbqJivqzp42KhLiEmDIuFMpHfNleVNegXBMyyhEy7yK9DX5UZgYh5+XEhYQI4ZumfXIC97E/c8CRBcYF3GDgcMNVdmTo+weqaXQDKpxW/DjJjYE0R1wDNk Received: from localhost (dhcp-141-239-144-21.hawaiiantel.net. [141.239.144.21]) by smtp.gmail.com with ESMTPSA id x188-20020a6263c5000000b006dbe1d91426sm109957pfb.84.2024.02.01.11.27.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:27:15 -0800 (PST) Sender: Tejun Heo Date: Thu, 1 Feb 2024 09:27:14 -1000 From: Tejun Heo To: Miguel Ojeda Cc: Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH] workqueue: rust: sync with `WORK_CPU_UNBOUND` change Message-ID: References: <20240201190620.18064-1-ojeda@kernel.org> 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: <20240201190620.18064-1-ojeda@kernel.org> On Thu, Feb 01, 2024 at 08:06:20PM +0100, Miguel Ojeda wrote: > Commit e563d0a7cdc1 ("workqueue: Break up enum definitions and give > names to the types") gives a name to the `enum` where `WORK_CPU_UNBOUND` > was defined, so `bindgen` changes its output from e.g.: > > pub type _bindgen_ty_10 = core::ffi::c_uint; > pub const WORK_CPU_UNBOUND: _bindgen_ty_10 = 64; > > to e.g.: > > pub type wq_misc_consts = core::ffi::c_uint; > pub const wq_misc_consts_WORK_CPU_UNBOUND: wq_misc_consts = 64; > > Thus update Rust's side to match the change (which requires a slight > reformat of the code), fixing the build error. > > Closes: https://lore.kernel.org/rust-for-linux/CANiq72=9PZ89bCAVX0ZV4cqrYSLoZWyn-d_K4KpBMHjwUMdC3A@mail.gmail.com/ > Fixes: e563d0a7cdc1 ("workqueue: Break up enum definitions and give names to the types") > Signed-off-by: Miguel Ojeda Applied to wq/for-6.9. Thanks. -- tejun