Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp5983529pxv; Wed, 7 Jul 2021 16:49:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg/dM2ooyNTEAtq8+igd4lg1As/bkv+tWtWfPoyagcfP5G0Fx/ftUpX5sCkNj1tjGW1ejJ X-Received: by 2002:a6b:7e42:: with SMTP id k2mr10019300ioq.184.1625701789371; Wed, 07 Jul 2021 16:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625701789; cv=none; d=google.com; s=arc-20160816; b=niQOBPYbsiK0x7VTMt8JdNTDkDfZ4wqb+QpGfKjgGBxoN22EBdBq/JSFV6+mEMUBlX f/o5SHEP+DTroQphYlGKgSbcdfAoZulLvURlQYFLCMMQZNMk3wNrcmHVh9BlOV8ltLCC K59878Y/5eArq0MGKSdQeQe3yrVpkz9SyJRxTojlZ9UCfu76guOM6BZ9+E5//+1k5is0 3BYQAT9wOCWQp7KRtv2BJWZj7yJjWTvoe+yYMCOs7NKrYzU9APVB+fOMWKzUL156ltA5 TEHhKGqDtdqpWcCKG4osN7Ce9tbl05G5cusCMuzoW1vvAIBRH//xb2umoSFeKBufr+Fa Jnew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sguAgUAI4i8x+o/Ej9MGzsI2Cy1Cs5Pf47dyU7REBVg=; b=AoBnmMPVL9mbIXC/9Zznci8TX+gZqN5ihHpiXpw9jPjlMZU4BCixJ1Nj+nd0racsD/ AwHVFgPwFIfy3jTJsDBTVTRuJdjaBENjDRzZ68pchCgDDwGHobIB7HQ6duYxfNP8MHjW +jqfDLNHWufSlJ+AaPMg9QNTvU2KJyYmMjhv1frBhvtOceGiKR5q6YtcO5jgTS0xN9Bs RfD/O7ErgnoNyz6ZsXFEc0QuDiigpY4ndW5Jg0kGBmPD/zQCYnx4elNA9mBhEV94tQvq bqJDDId+l87YqGjROWzGsolN85xYBSHXYSi92Re0AesWeoop/jXKfM0CBfztjOsOBcNb Xmjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U3BBsS4M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o12si592600ilu.12.2021.07.07.16.49.36; Wed, 07 Jul 2021 16:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U3BBsS4M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230521AbhGGWgs (ORCPT + 99 others); Wed, 7 Jul 2021 18:36:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230264AbhGGWgr (ORCPT ); Wed, 7 Jul 2021 18:36:47 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 013F2C061574; Wed, 7 Jul 2021 15:34:07 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id g22so5736015iom.1; Wed, 07 Jul 2021 15:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sguAgUAI4i8x+o/Ej9MGzsI2Cy1Cs5Pf47dyU7REBVg=; b=U3BBsS4M1AAJ5T1e+Ng9btoTdmckXSOUWW0WSSn5ILwQoBU3HiI9OBuH0aW28BChYE TTdSZX3ukMJAHQx2ILnuB4Pz8XERrMUOCLhSih0efJ6wsnLQGrJUll3vqi8QnG6PJnjo 8YMr3jzaAoCodyAraIJ+unl1DpaaPSw3c2KdAfGdp6GG+eu2YYJqE7i4G4mpAdkeVie5 aohcWBJkA5JlkwBklpOo7HmmZQdTii2gDOmlIgG8U7RX9cW+ZCLzEmO/O5fvq4jLJKMq 0bAQIluIRirLU+3mp4HPKW5WmsweHbK+GDmvmhDM0qIWrtMkCkKhwmhrEHlSVkO0V/mJ UvnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sguAgUAI4i8x+o/Ej9MGzsI2Cy1Cs5Pf47dyU7REBVg=; b=Dt1Vjd5g045R97Urr786uV+3e2E2Is0606Do4MOenum5KeYx8HA6QrdKyZuNP987Kt qbu1Xq8Vxdy8JlHJR/nStwkh5scU0bPGZQQp3/XUpY1thoCckLWKcONRDClXTQBJWY0K 9tZjediiqGAzElZiMHbByyK7fdMc8THPPF2HbOKxxmmjva3mn3RCDxfsi6Ylkhokm2wK yIeaESBWi+Vk1gGwEaiKowRufYn3DFJEldhyuWFescZ4f5/1ip5+oIm6pHtJFjt1tRgn 3h+qMTX2CNJf/zZo4phmt3jhm1eOeuHRIsxek21yguN7DM/AjTaCVMSJgt5KBxFt8gFP zKew== X-Gm-Message-State: AOAM531y/XofSKEwe87Kz+IHIPktWkj51Ag60YMBqYz5yYpK24vTyRGY 8rtJtSMlXXe7tVS1SZAr64BvJeuI5aHRs3ojMD8= X-Received: by 2002:a5e:d512:: with SMTP id e18mr21496064iom.149.1625697246499; Wed, 07 Jul 2021 15:34:06 -0700 (PDT) MIME-Version: 1.0 References: <20210704202756.29107-1-ojeda@kernel.org> <20210704202756.29107-5-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Thu, 8 Jul 2021 00:33:55 +0200 Message-ID: Subject: Re: [PATCH 04/17] vsprintf: add new `%pA` format specifier To: Nick Desaulniers Cc: Miguel Ojeda , Linus Torvalds , Greg Kroah-Hartman , rust-for-linux , Linux Kbuild mailing list , Linux Doc Mailing List , linux-kernel , Alex Gaynor , Geoffrey Thomas , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho , Boqun Feng , Sumera Priyadarsini , Michael Ellerman , Sven Van Asbroeck , Gary Guo , Boris-Chengbiao Zhou , Fox Chen , Ayaan Zaidi , Douglas Su , Yuki Okushi Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 7, 2021 at 10:31 PM Nick Desaulniers wrote: > > Which patch in the series adds the definition of rust_fmt_argument? > Sorry, I haven't looked through the entire series yet, but I don't > think it was an earlier patch in the series. If it's later in the > series, you may want to rebase this to be after (or combine it with > the patch that provides the definition). For instance, let's say the > first half of this series was accepted/merged, but not the latter > half. It would be weird to provide such definitions/calls to undefined > symbols. It is in https://lore.kernel.org/lkml/20210704202756.29107-11-ojeda@kernel.org/#Z30rust:kernel:print.rs Yeah, perhaps it would have been better to put it in the `kernel` crate commit alongside `include/linux/spinlock.h` and `kernel/printk/printk.c`. On the other hand, having C changes on other commits may be easier to read and explain (note that compilation still works, given things are only enabled near the end in the Kbuild commit). Cheers, Miguel