Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3127494rwb; Mon, 15 Aug 2022 18:49:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Kw2+bhszFX2MJz+KXot6oEPmbOeGBAQ4gR1VChblmYtqDD2r+97LXHVIJD0rhxMbDQtRN X-Received: by 2002:aa7:dd50:0:b0:440:3e9d:784 with SMTP id o16-20020aa7dd50000000b004403e9d0784mr16911324edw.195.1660614562900; Mon, 15 Aug 2022 18:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660614562; cv=none; d=google.com; s=arc-20160816; b=bMKuB8HhfC68T2MHW+ZarJhIJn95K5qy7/uLaRByvv+KQD9FZw2+stPgSa5MNdy7zp vlm7nW6YPxhh4k5mn/BNGH7eu3ta/wAKiZyiWW2a0swAEas+IazcPChd/spFgw0cDnaw cX/oM0oYWcZTYDLDr+gnv/FqnjldygFvtRxsoQ0QGcp83aQhRu2rUD9vogkuu6xQaP7l tp+Z6Eq2rwqwnqLYKOL89Pj1ibeb96Y8QVq9bkK5SSwkTgT252vP5CQaD7sWuSNIy3+t wKUQ2gbuzWpxE+7qr9csxsTsZfeWlW65yeoAPLB7XdXcPAtxn5zRN+sMpI7K7HxjQKOo Ffzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=wcQ1r/sqg2CzoRZsjNTeLUUOzyl5NynlAfx/6TvShuo=; b=k6tN4wXHoqbyXFFYDS35B+oghq6SHgbGvjqkOtW2VtZ91p8IRUmifSQz6rOOrv175D FPNDYqLyuwiyzgIbYkt5eS/5exXdvHXZ1Q6wf2jLc6hjtuDR1tvKhaqkxE06i7fw6YG4 oLktAxMpdNqjvLkONwWz83qwjnDJKmgbOGMkALpp8k0TUXfzqEeSAzX17juPOpyB5RyA 83k1GGfJj7ktQQAKWueQWGod73aZGk6442n2czoPVyRfgRx1Prfn1EBrTiYUuDSmjbk9 bPPmp6ZwEHwRVXqiLUzi1BNoCeWVPjw77In+DX8q06H8zNk9XWRjN5Ij2shpS6vQ2OLw 7a7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jfdRIc58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a056402084800b0043defd3ed96si11073932edz.237.2022.08.15.18.48.55; Mon, 15 Aug 2022 18:49:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jfdRIc58; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229876AbiHPBY4 (ORCPT + 99 others); Mon, 15 Aug 2022 21:24:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233745AbiHPBYg (ORCPT ); Mon, 15 Aug 2022 21:24:36 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 338BBEE6BD; Mon, 15 Aug 2022 14:14:12 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id x23so7416710pll.7; Mon, 15 Aug 2022 14:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc; bh=wcQ1r/sqg2CzoRZsjNTeLUUOzyl5NynlAfx/6TvShuo=; b=jfdRIc58wSKw5+LFAOD3R58oEgb8WlNSW6Yq/3GU4cMgOltcrqra8jsFDIYpa9grCu j6xLue9nuTgx1/xXYk1GJ4mEaPe1rCfHLpDwuyQCDIwXPPzNlE7/D7imW3J8mQdrg/vG lYeec4rF0VYtjQmQwLQg4mYI11EQ7rxYeCj7j6KRlJThxhbFzs9s9IdN4VuMmDr54mCw DxFtI7lvaMQD5noiZ+KNP9ggRXCUsmmWraIkDJ1AAiUCGscBJJR4+RYge0S36mQOqixk FjcSHuDaM38f9eJZw+nQsAm+77WcA+z6MICzr7FYbxiybVARFIOGETxwFVaLTRCWjA/f 8QlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc; bh=wcQ1r/sqg2CzoRZsjNTeLUUOzyl5NynlAfx/6TvShuo=; b=Mld2QIitNzcBASUDQpen5CzdyNN5YYahAJCLRemKIMhDKMsNejIoyxJMuzarPyhN5k 9RmTZOs6xorp0o5Cuz60xZmw929ZGVMRsT17+iXf0X0DDC3eon9+dYVMmZeUhW/EO0iU m0aWz5/T15lAJNMCKOF+71+mMNAACdywSlYXDiu/Zs8kid/BCxmn+f+t/RBH1dQTyXSg 0goloE3Oc6C44goE00VNlOxuCNuq3781g+gonZNvlhyJ8UoUrvSCizbPD0YuiZF+xXv1 22BTlZEwHlt3WdChP1nB5aCDt09XUdJjxBLOUAVNd2GsLL/14ApzHykJDVs5Aq2itv6E AIXw== X-Gm-Message-State: ACgBeo0pjIwH7lNlMcyA1r/tOwk9Y/9v9UClbD1e3APAZcZ5DgF/V7oe FBUZS3TJbAY1RUtR7RMBvRw= X-Received: by 2002:a17:903:22c3:b0:16f:2182:6f3e with SMTP id y3-20020a17090322c300b0016f21826f3emr18749047plg.59.1660598051842; Mon, 15 Aug 2022 14:14:11 -0700 (PDT) Received: from localhost ([2620:10d:c090:400::5:3a69]) by smtp.gmail.com with ESMTPSA id d26-20020a65621a000000b00421841943dfsm6224115pgv.12.2022.08.15.14.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 14:14:11 -0700 (PDT) Sender: Tejun Heo Date: Mon, 15 Aug 2022 11:14:09 -1000 From: Tejun Heo To: Miguel Ojeda Cc: Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Jarkko Sakkinen , Wedson Almeida Filho , Alex Gaynor , Lai Jiangshan Subject: Re: [PATCH v8 06/31] workqueue: introduce `__INIT_WORK_WITH_KEY` Message-ID: References: <20220802015052.10452-1-ojeda@kernel.org> <20220802015052.10452-7-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220802015052.10452-7-ojeda@kernel.org> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 02, 2022 at 03:49:53AM +0200, Miguel Ojeda wrote: > From: Wedson Almeida Filho > > A Rust helper (introduced in a later patch) needs to call > `__INIT_WORK` with a passed key, rather than define one in place. > > In order to do that, this moves the initialization code from > the `__INIT_WORK` macro into a new `__INIT_WORK_WITH_KEY` macro > which takes the key as an extra parameter. > > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Signed-off-by: Wedson Almeida Filho > Co-developed-by: Miguel Ojeda > Signed-off-by: Miguel Ojeda Acked-by: Tejun Heo Please feel free to route the patch with the rest of the series or let me know if you want through the wq tree. Thanks. -- tejun