Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp117391qtg; Thu, 6 Apr 2023 14:12:59 -0700 (PDT) X-Google-Smtp-Source: AKy350aWsqCN2y66phNZjJ2a85M0+RDfVjU5eu+0xwIKiyQ3DQPwSppfy0kLGSuthAOJxDch67WE X-Received: by 2002:a17:902:dacc:b0:1a1:d1be:91fe with SMTP id q12-20020a170902dacc00b001a1d1be91femr765721plx.0.1680815579604; Thu, 06 Apr 2023 14:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680815579; cv=none; d=google.com; s=arc-20160816; b=cJPQQJ4Ef4NiaPfeX9WOYv69SFUSWh+tJolJ+h8+fEL1vuMLRIkWJGBRf5RKJpqxs7 2u8p81fD9/Ah24QMtMiY3YLjWCh3rIZlmiQfxYS3KSlv0CqlGj0F7CN5TaogkNY/PPT6 uqGMeI0fY8eea9UmrBo8u5ZIm40Y05O2BNA5ueiI3Vf947CuGb+QC3k3eXVsCLb51zOV Z953WN9zvfu0TMeUDWVMPESeIPfXGsGfGmIy/N3krLVp+3TEOgg8ZNjDqeojKkvFkJH5 n63osAhYflysaB7669hb+ZQQCF9OR3YMuSDsf6RBripj+Zw9tNtUU2xv4Na7VEMFrcM6 yf3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=klFrmi00Z3pggeaXv1LLk/QRMVU2POucaD3ESeOb7sQ=; b=dylGndTWuyxTsQJm5yFBEyA8H0TsTnVhTSxeXsCKLAppm8dRihvdimg2FuMHb4DxF6 Hrk0/nGG34Ey5A+39UbcpazHlWKpqiy0xkufQk59wIfo6CxB6DOY6pZYJh6ZSuDPIrM4 2H0R8zH3FNaBWNvZMuvoHrL2t8l696AUCX9mNg76y1PRNnU9xJJPWWo/2BwYJNQDQc91 3JcYAoQiznKBMH8Q0DpyVdAXv7tSBhmtBKHme7hMrqMGt0Oj2OBXs0gECDCp00j2AyYQ m8ojSa39un6DHCStEYC/MIyF41gtkZHsbLf11sH7H68BzwKN4NqD7N+QT9z2YUuhDfW+ 0VQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MdK+SiSV; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a170902744c00b001a220a984f9si2340017plt.546.2023.04.06.14.12.48; Thu, 06 Apr 2023 14:12:59 -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=MdK+SiSV; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbjDFVJU (ORCPT + 99 others); Thu, 6 Apr 2023 17:09:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236507AbjDFVJQ (ORCPT ); Thu, 6 Apr 2023 17:09:16 -0400 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EACC7ECB; Thu, 6 Apr 2023 14:09:15 -0700 (PDT) Received: by mail-yb1-xb2f.google.com with SMTP id r187so47507970ybr.6; Thu, 06 Apr 2023 14:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680815354; x=1683407354; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=klFrmi00Z3pggeaXv1LLk/QRMVU2POucaD3ESeOb7sQ=; b=MdK+SiSVYQcPOczJdqighKBIn8DjAyO1bixiMUf+QqzplYl5bXxDnQZcw7xZIOtgxo 1s7oy8FLhE0BN3tbF9iC56R1+EWGdUlnGHhBAvVdr8F64faJgdMY3mJPSy+Y0PM9D77D krW2HJz6fOJ3/DGPabdfgSznPhhhW337s3T/JIy/9/9N43gi5QWS0NtyVwx9m+lE38mW rrOsi8Fd13Czhjr9FSbBEMLxCf6Mn/C4/PAdLDIlzC0GqvDN/YhR4p0f6Pmlre5mEK1D XaVKzfACnEM7ab/HirNNgU2mhv7QyQqs+NSxq5aMH8IkKB3vcyMODvBC0DqCGb0Smw9i d/8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680815354; x=1683407354; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=klFrmi00Z3pggeaXv1LLk/QRMVU2POucaD3ESeOb7sQ=; b=Z05NdGL4oMkROQiYrPed4WVDqGJMEbIQZb15fy68nZrXf4UF/dMM+nN40bwl3tcoPG iPPw8sMmojB3I6LjKGwh6BqXXKp9FikaYvwT9nkc/A6nLjt6gTi/GbS7+e0cJmHoDm3j dMTNalJ/mg2EycO46nf2FT4lC+znUTTE02gafJaIAJIW7CyG+maxnSROYwvi4HvMlGHD knziGJDMKIHpIM/9VPVaOsed0Xxl9NtNWEvYS1b5MZWOrDrJBjwcfwUvaHKmxzo3XYUp odwgyMwX8ejWfCk8x6xC51Jpby6Uy9Hv/4oX4dTcgy3DahNOuApCt6zJXgymFNWvtggX Eh0w== X-Gm-Message-State: AAQBX9ftw6hDRahAP7A3Pj3u57yOQPiyuj22J9PV7HgtAjoHxxpeflIr FDHhvKmqwAEiT+urkix5DimgZx/b4uuQAZ1/R62+vW1e1CQ= X-Received: by 2002:a25:7489:0:b0:b6d:fc53:c5c0 with SMTP id p131-20020a257489000000b00b6dfc53c5c0mr2922932ybc.1.1680815354537; Thu, 06 Apr 2023 14:09:14 -0700 (PDT) MIME-Version: 1.0 References: <20230214224735.264894-1-davidgow@google.com> In-Reply-To: <20230214224735.264894-1-davidgow@google.com> From: Miguel Ojeda Date: Thu, 6 Apr 2023 23:09:03 +0200 Message-ID: Subject: Re: [PATCH] rust: kernel: Mark rust_fmt_argument as extern "C" To: David Gow Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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, Feb 14, 2023 at 11:47=E2=80=AFPM David Gow wr= ote: > > The rust_fmt_argument function is called from printk() to handle the %pA > format specifier. > > Since it's called from C, we should mark it extern "C" to make sure it's > ABI compatible. Applied to `rust-fixes`, thanks! Cheers, Miguel