Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5978045rwb; Mon, 14 Nov 2022 12:18:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf6qpSLQtpbbTrmQYqW098uzBluZ5ank8Z+xuyY0vQpTggs5c/a07rGrTUTaI6TnzMCA0NF3 X-Received: by 2002:a17:906:8316:b0:77f:9082:73c7 with SMTP id j22-20020a170906831600b0077f908273c7mr10894516ejx.517.1668457008623; Mon, 14 Nov 2022 12:16:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668457008; cv=none; d=google.com; s=arc-20160816; b=MLbb0OpwdhlCho/kjYOCclRAiWR2kt9+tBb2lHBJkVGGJgSb0uXmRN9sF2U2cO+Niy Kc4zaRvGJT5LGtO4Kdx0yL8x2NRxtzvtZgW3W46Rf1O/kdromv8SJF/jKfW/QceImynk i57VhFvfvwlaQM+OL4pM/OoK6UBu4EGUoJWzZsqMzj3F5j6ZvaH7cjsffonq1/FUd5EZ DHPWR6Jx4PctmSo4oZFw+ul8YvjFMlYAZSPKyYIvvUdtcKWFGlqFprfYTqB4G9Biuc0I PRv3O9tlVvb9ZO7KEIfvomInmSmqSp7CNJI2QSZZPjWGg0EPyj48XEospAQ8eUx8seYO TVLQ== 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=MdJG0hGFUyyCI91ddj8JC9nYTc4V0N35yzoPYsarpcg=; b=muLBP0coivE48yp+tap3wyMtzrT84BaXE6KDv3GRBF3iCjajXbYu0aiWGMzsW+D60W QswLfGKxYGniqY9qxF5kPt84dttWv9Xr1N4u/89elo1ySnYdGRTB92FmeR99vo3ITLkJ rZpS6ZDJl5MtCXGNCtH2E+Z+6HTRBekVfF5dCgoOBOUbaWbCTuiF2RVZqVYAPwnSRR6j 8wYicBOlZ0nu5kiJvk4vjlHXbIxwzkWyA2WX8WfQlFIr0uf5DB01FAYY5psmMcq+UXqK zg+R3+S0tMxytouDG6nPP4FdEi04b14gLva9GczEER9Op1y0kwCIcEoRJLLcMJQUvQwt 0wig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=if1cvVB7; 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 i6-20020a1709063c4600b0078c4a772ea7si7251471ejg.11.2022.11.14.12.16.25; Mon, 14 Nov 2022 12:16:48 -0800 (PST) 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=if1cvVB7; 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 S237267AbiKNUJS (ORCPT + 89 others); Mon, 14 Nov 2022 15:09:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237449AbiKNUJM (ORCPT ); Mon, 14 Nov 2022 15:09:12 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33C751A38D; Mon, 14 Nov 2022 12:09:11 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id ud5so31090463ejc.4; Mon, 14 Nov 2022 12:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MdJG0hGFUyyCI91ddj8JC9nYTc4V0N35yzoPYsarpcg=; b=if1cvVB7kZ3p6IsI1icI+itclbcxzY0WdmaPbBN6tPazOVZ0CokbOi0SnbOn+6ucyX H6Pl5xHiYQC+3gPfhOpXVpfLkA6nT5EDTnGLGfk/KBaN1UDYP1rrfSYg9QPKptNWXVFv rGD05TfqEBYD9YEP6d+PtNxbQQmn0kfcF6yLzRRKl53NDrXSiACfYUbvh/KpfFODdcDN NWnOTeo9J971LsIQ/6pRldSAfhN/UWaQD9nqk0mTxmf0BpJR7eUCQbY/bU1g1u5pZfYu +ZEoBhPqHeLiHny5rnMRQedlXDVrTnt/u7kPaSy+ArQQfw8PxPpzS5vjVDdZD6lcR76k IHfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=MdJG0hGFUyyCI91ddj8JC9nYTc4V0N35yzoPYsarpcg=; b=I9xpd0nrvuyld97tBN3BdM8OE8y1uEr8eMkeF+sLGsc3QmRHkwvpRL4+ufQv1oS6g1 fkYuyP4Hne6uONpWo7VG2s8+NvlvZgVxQCariortUxNCMJu236VYJPGPHWGxbh5/Txt4 6s+k+tNnNgJdAV3vTYu/1o7WggxzNFCrcQuZ2CWYrnt9iw+Py0QjaPPQ2SarSU8/iQe8 qtI72GyQtSnrSC1seU8v4Q+XF3DXJM8fryFqz4SghmXauNuZncu3bmzf/P+Y5FiNslRC DcrjNGZWNqTIfQuPYOd17BD3Pw9FOSeUDp0TPbszs/sv/wFNV5N+IxQHiM1m2SD3G5Ex 3CqQ== X-Gm-Message-State: ANoB5pmS17qCQU6qvlJhDF4MsrmTavXG9QE0f6lFIJTfnVu0JQ+zFE+8 m+ThDuVmUPa6nePFn8dszb0poKqRAAiJlVa6P7o= X-Received: by 2002:a17:906:3ac3:b0:7af:da0:aebe with SMTP id z3-20020a1709063ac300b007af0da0aebemr2727739ejd.723.1668456549600; Mon, 14 Nov 2022 12:09:09 -0800 (PST) MIME-Version: 1.0 References: <20221110164152.26136-1-ojeda@kernel.org> <20221110164152.26136-3-ojeda@kernel.org> In-Reply-To: From: =?UTF-8?Q?Sergio_Gonz=C3=A1lez_Collado?= Date: Mon, 14 Nov 2022 10:01:20 -0500 Message-ID: Subject: Re: [PATCH v1 02/28] rust: print: add more `pr_*!` levels To: Wei Liu Cc: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Adam Bratschi-Kaye Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Mon, 14 Nov 2022 at 09:43, Wei Liu wrote: > > On Thu, Nov 10, 2022 at 05:41:14PM +0100, Miguel Ojeda wrote: > > Currently, only `pr_info!` (for the minimal sample) and > > `pr_emerg!` (for the panic handler) are there. > > > > Add the other levels as new macros, i.e. `pr_alert!`, `pr_crit!`, > > `pr_err!`, `pr_warn!`, `pr_notice!` and `pr_debug!`. > > > > Co-developed-by: Adam Bratschi-Kaye > > Signed-off-by: Adam Bratschi-Kaye > > Co-developed-by: Wedson Almeida Filho > > Signed-off-by: Wedson Almeida Filho > > Co-developed-by: Gary Guo > > Signed-off-by: Gary Guo > > Signed-off-by: Miguel Ojeda > > Reviewed-by: Wei Liu Reviewed-by: Sergio Gonzalez Collado