Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5605189rwb; Mon, 14 Nov 2022 07:04:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4tWABUDVVlhyeQdEyl/UTHBHOt9Ccf4Prc6qDL8VQmIBCOVSbCQUv7ZeKmYeagudu15Gqr X-Received: by 2002:a17:902:eb91:b0:187:3c31:fb3a with SMTP id q17-20020a170902eb9100b001873c31fb3amr13517044plg.38.1668438275724; Mon, 14 Nov 2022 07:04:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668438275; cv=none; d=google.com; s=arc-20160816; b=ucES36dC4nBhfIPRWOQoisS+WhD7udYZhh2rXdsZ+wrB8zKAnw5K3vykDBxkaEsdpn gC7WewApcaawxZ62w2iZVhO4diz4yroBjJMQqo+oHf2fYfn01o47iwP9gcoZqpAKEkCr eiUCob5Xrs+RPG0mngwboZS1+yOxadzQ0qtMj7Q60lQVBWWQ1sGB18dX5Dj/heqvrgqw zdM3RXstmzjr2p9M//QkpPy5v/3P5G5L8oi9ByB4XHj5ieJ41270A463lndsLonffOG5 t7xKN9EleFH1FcuOhnC03F4RVzM+FeMwnDvOd70ejKqKfLKLjnJVolgW48BH+t27mkYW Mg2g== 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; bh=VB9I5ZAWCtKhLs2tRpa3Gm4Asdyf5i+TqTp4v6wgnV4=; b=vFHbXeiomHgEGHEqzQGiubvg+Smlma/+ORHT1ZltzEPpG99rjQd4eSTLa9xccriM/t Uc2df3uiRDK3fIdY6Gc6cDRUH5+/8jM9BqC/qxcfI/AKAz47JatKfcQKZGbkq015h+20 lHUmi3gXzrputMuLDof1UT82pIAuw1+nKLpaTOowoWJjq0Z/oMWeXUzRbJemcsjwBwBR gIYcx5vDqJrPnd5qhaMJ31HREDPJWJNYCg8t2glHGT+jFaOlvljxikdFbTR8c0frwC7A J6l0yapL5ViWL+rHWc46EA3ttVGhruguc9fKlc2RmTWTQ7bsTq93f7UvungcZfeXgdNy 4rHw== ARC-Authentication-Results: i=1; mx.google.com; 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 om17-20020a17090b3a9100b002135b4f8632si16434020pjb.171.2022.11.14.07.04.11; Mon, 14 Nov 2022 07:04:35 -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; 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 S237098AbiKNOlS (ORCPT + 87 others); Mon, 14 Nov 2022 09:41:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237045AbiKNOkv (ORCPT ); Mon, 14 Nov 2022 09:40:51 -0500 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD54265F3; Mon, 14 Nov 2022 06:40:42 -0800 (PST) Received: by mail-wr1-f49.google.com with SMTP id z14so18510797wrn.7; Mon, 14 Nov 2022 06:40:42 -0800 (PST) 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:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VB9I5ZAWCtKhLs2tRpa3Gm4Asdyf5i+TqTp4v6wgnV4=; b=y1HDlot7/FYK/pQE1o5PjfBG4Cp0PSk3kHTGXt38w2jxg30o00kv7+QBb6fZWwoE+u 2g+86det/BDm6B8dee/L4ua+ukcW/853DulWUs5DZr7MHxIsoLwUBb6HRyrKBZ81oVuI hdH0d4l1z62CGMsM0XONFmG+WKc63ltxJ/xI1dURTg84rYVnVPytE2K6lQTVwyLd6Bx2 cJgUWYJrdzBFO12fki4iTg9LwDrbxPI4rzkG9LsWnEcvJhHs+unENfT/W//GOt5A9/wv VpGHopZFHX8MFVDzjJkJei/+bmCp0CLEC54U/WUdblYq+RuAp64pI7l0HGJ4o16C0HMy 8ksw== X-Gm-Message-State: ANoB5pnoi/x27IhlQSkjrnGQo0oefwNOTL0YW+88a/YUtPBktp4kUqho 92ugvV2Jo1tcdudSH5GisOY= X-Received: by 2002:a5d:6743:0:b0:22e:28fe:39d6 with SMTP id l3-20020a5d6743000000b0022e28fe39d6mr7811102wrw.701.1668436841384; Mon, 14 Nov 2022 06:40:41 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id ay19-20020a05600c1e1300b003c6bbe910fdsm22597325wmb.9.2022.11.14.06.40.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 06:40:41 -0800 (PST) Date: Mon, 14 Nov 2022 14:40:39 +0000 From: Wei Liu To: Miguel Ojeda Cc: Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Adam Bratschi-Kaye , Wei Liu Subject: Re: [PATCH v1 02/28] rust: print: add more `pr_*!` levels Message-ID: References: <20221110164152.26136-1-ojeda@kernel.org> <20221110164152.26136-3-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221110164152.26136-3-ojeda@kernel.org> X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 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