Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1135014rwb; Tue, 27 Sep 2022 08:52:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5u+jDlT9GnPLcaAsuY5/2ybTjO8FuHr9PX8hKUGpg/43ofeB27JH+TxU/z9QskyFbWskVb X-Received: by 2002:a63:5f8a:0:b0:43a:107f:4839 with SMTP id t132-20020a635f8a000000b0043a107f4839mr25492936pgb.376.1664293936476; Tue, 27 Sep 2022 08:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664293936; cv=none; d=google.com; s=arc-20160816; b=TMDAc5C7aV0iqxcuQHeIzEWmMJ/74xMkBxW9ZsYXE3SyQT2XdQISskBkblrer2POOr UJggvXUa8uBpBVmasVOZLHaqGj/xYisFg8VmlHJtPOjQg2l+MysGnlKt2XMdR5e2hiUs Q2b36illoHYE/nC4pIOyPDaELc7S4aYsKW6SxTiaQCyGJUKmraJRbYrpfBx/U2IY42QD oGM0XlrHscFFOu72iFZ1VgsjbxKfcX2E99kNRjMMFwnLc2Mn8xiE4PUcwjWuLV2OkTIw dBcVJAlNUw/EIJ8/fsEjhob+QNZP7r6klR7vLuXRGMuhnLiPQkWaZRHwQ+oNksPB14Ke zf+w== 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:dkim-signature; bh=Xk4qCzrAnf2Kj/7jHyoD6doDeMQiNwL2+kay6IMUNQY=; b=I/n6e65oK+jkqcA/tJajKlz3w5CzoRSl42RucuP3xt6zvds1f/Rze4OKL/i1BUE60t HJeha8Hi7X6LShdXg168awOcYtZppcupm9ahf5kxRQQ8KY4gMR8RwmAzYJICjEcJAB28 cLYjhJNigDGvBNJI3oELXRzper64ll4cuwIt1OSKVvGJ5ZgI73k+DBFqDEFbVRwJ4cKS GK9UpUnNTDVYS4GOtwx8wEx/oAHQmayRnP10KBW6OenjEmespb3Zlib0XNy3eO58Yi0X UClXaJZ5eOchfjyxrCl99l41d/rwiJKHQDzzVf7YNEftDNSSJsSch+nvYm1vLPKCYD8r Ye7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ccBzcbfZ; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e8-20020a170902ef4800b001789fa8f90esi2082201plx.408.2022.09.27.08.52.05; Tue, 27 Sep 2022 08:52:16 -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=@linuxfoundation.org header.s=korg header.b=ccBzcbfZ; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231286AbiI0O7l (ORCPT + 99 others); Tue, 27 Sep 2022 10:59:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbiI0O7g (ORCPT ); Tue, 27 Sep 2022 10:59:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A07A563AE; Tue, 27 Sep 2022 07:59:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9A06C61A18; Tue, 27 Sep 2022 14:59:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B93DC433D6; Tue, 27 Sep 2022 14:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664290772; bh=ZZcSyerdIup6Pus5MkLELGylYpuuK8q173DpTiQjHzM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ccBzcbfZ4XVyGFDDJBaqahpBYuSjwnfr/jFOd7HcDeEHPf8DMPYgOwetvM+pjqlcy eZJoZJ/lVLowyGDkXDhlXflejxSae+6R4umCG4fF9XH122F80NrGUkZsF/Pmy2hDiW XIzUHZy2qLyQ0bOa4HKKdOVDyQ9IhtAiHsSe4+Zw= Date: Tue, 27 Sep 2022 16:59:29 +0200 From: Greg Kroah-Hartman To: Miguel Ojeda Cc: Linus Torvalds , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Alex Gaynor , Geoffrey Thomas , Wedson Almeida Filho , Sven Van Asbroeck , Gary Guo , Boqun Feng , Maciej Falkowski , Wei Liu , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron Subject: Re: [PATCH v10 06/27] rust: add C helpers Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-7-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-7-ojeda@kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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, Sep 27, 2022 at 03:14:37PM +0200, Miguel Ojeda wrote: > Introduces the source file that will contain forwarders to C macros > and inlined functions. > > Initially this only contains a single helper, but will gain more as > more functionality is added to the `kernel` crate in the future. > > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Geoffrey Thomas > Signed-off-by: Geoffrey Thomas > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Co-developed-by: Sven Van Asbroeck > Signed-off-by: Sven Van Asbroeck > Co-developed-by: Gary Guo > Signed-off-by: Gary Guo > Co-developed-by: Boqun Feng > Signed-off-by: Boqun Feng > Co-developed-by: Maciej Falkowski > Signed-off-by: Maciej Falkowski > Co-developed-by: Wei Liu > Signed-off-by: Wei Liu > Signed-off-by: Miguel Ojeda > --- > rust/helpers.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 rust/helpers.c Reviewed-by: Greg Kroah-Hartman