Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1716831rdb; Wed, 20 Sep 2023 18:33:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3Nu9dZeW+j3/80M1f3SilDcXmd2VXr6XC4qdbG99Kzkcnj22n5j1I9x6TONGen5e2OqIm X-Received: by 2002:a05:6a21:1a0:b0:138:68b9:138e with SMTP id le32-20020a056a2101a000b0013868b9138emr10453866pzb.8.1695260033255; Wed, 20 Sep 2023 18:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695260033; cv=none; d=google.com; s=arc-20160816; b=OJyU9eqJX0EICjJrONZk4+jSTMXhZzKtWWSyoVI02fplv/aOBshupDyqp+o73VLv9p jRyEsgCLVatCizLVoc00L6NSGDU9hEQAGNLlNa1CUIAYUcaqLMt/XzCbrYIWNUpU+isv B+mtmu28dXR65MeqqRzn+Cz3VrmQJF0fPFUj/zdte1lkvgz4JaS6oF2QmNy17J7RMV0q zGylCstOcG+myLCxgYyec3wzhLeBAry6PSWzXz8aKUR8zwxbf5E8qpGBJyC6HPoWORWD RJ5Gm1ZaV5aGK0HTDfYFAjw6NQ4IpyLV1faPTeDCb3fsd2PsmxwdZhuacg3ZA9BtFl0o i1IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :date:dkim-signature; bh=1/ognkvnJyYWtYywfOcPV37GXLJ6vuPInK4WDRo+5cQ=; fh=y4KWMgcCDNqAUENckYSNNLmrxB2IzTq0xNqwGQ9gZgI=; b=drB2XwChPsClnXSRzbrBJaWQFUoOYh5RtZwjp5em9O7GinXTM5AWUw3J9gCQTC2W65 1GxaoTzkOvZ2BGxNGCskR7W2/4O+9YpKg6bgfCMs4dg7blKwm5ysfoKfMUHtcRHo4pPP 3uP6oQ+3knz3xh2tiWzTN/nOoasmBX4uKTchPRheZmOhgS/eSYNNhASpGrYyb6YOcY3/ JxlEaE/ZUcqnxhVsdNAx3lL5ykrWLzBR1syY5FoVHNKohafEkwCoa+V5E259/HPTNNdb Cagtnl9EjGI+9JhkDuysHazmXFhIH63J01g0lIysKzITIdMoKWwi0nQkaYVM7F5EY8XN d/iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b=g9YP8Rcv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id z125-20020a633383000000b0057ab7d43d33si188539pgz.85.2023.09.20.18.33.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 18:33:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@proton.me header.s=protonmail header.b=g9YP8Rcv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=proton.me Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D5BE5834F76C; Wed, 20 Sep 2023 06:10:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234481AbjITNKA (ORCPT + 99 others); Wed, 20 Sep 2023 09:10:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236739AbjITNJz (ORCPT ); Wed, 20 Sep 2023 09:09:55 -0400 Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2B0C91; Wed, 20 Sep 2023 06:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1695215383; x=1695474583; bh=1/ognkvnJyYWtYywfOcPV37GXLJ6vuPInK4WDRo+5cQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=g9YP8RcvSUzdbzIMTu7NXlEkDhPHnWKAh6KqYDOT0+aY9dMWJyWKFZxzS28rByVzn Rpq4R81pkARUKO23467PQsoyM1rt0PsR1p62kiusv9S5zPvrp8RuQk363gxG4MLeYU UihMLa5jtT3XAJ2eC5H+OzFwUlI+Ei/1lyn75LJVzfk0vW6ifuZL5cmyU3xcH4UC62 yAhcOV6U3MV7+mHh93jzSlFulKKWHZCnotN6LHixIKQzGHcehFbCh9vYQAGKXCE0QA QBy4FNTpkaWO8xIk/vIEv55K4ii+D6oUdj20lovjiE2MpnJ2JloOIpPSY5D7wVN/YG SVKajWspgW1hQ== Date: Wed, 20 Sep 2023 13:09:36 +0000 To: Manmohan Shukla , rust-for-linux@vger.kernel.org From: Benno Lossin Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] rust: error: Markdown style nit Message-ID: <79a526ee-9773-13ad-d36c-4ee1072b115d@proton.me> In-Reply-To: <20230906204857.85619-1-manmshuk@gmail.com> References: <20230906204857.85619-1-manmshuk@gmail.com> Feedback-ID: 71780778:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 20 Sep 2023 06:10:06 -0700 (PDT) On 06.09.23 22:48, Manmohan Shukla wrote: > This patch fixes a trivial markdown style nit in the `SAFETY` comment. >=20 > Signed-off-by: Manmohan Shukla > --- > rust/kernel/error.rs | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs > index 05fcab6abfe6..6233021daa8a 100644 > --- a/rust/kernel/error.rs > +++ b/rust/kernel/error.rs > @@ -133,7 +133,7 @@ pub fn to_errno(self) -> core::ffi::c_int { > /// Returns the error encoded as a pointer. > #[allow(dead_code)] > pub(crate) fn to_ptr(self) -> *mut T { > - // SAFETY: self.0 is a valid error due to its invariant. > + // SAFETY: `self.0` is a valid error due to its invariant. > unsafe { bindings::ERR_PTR(self.0.into()) as *mut _ } > } >=20 > -- > 2.34.1 Reviewed-by: Benno Lossin