Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3461481rwb; Sun, 9 Oct 2022 05:38:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4IPEAJa3swvqE3vxvWa8VTEstToQLjC7KJltzKDV5t7uQrbTf6hQJbLm0mTyGjPstsY4L8 X-Received: by 2002:a17:90b:2d85:b0:20a:d20e:a5fe with SMTP id sj5-20020a17090b2d8500b0020ad20ea5femr15117727pjb.96.1665319099596; Sun, 09 Oct 2022 05:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665319099; cv=none; d=google.com; s=arc-20160816; b=codBQBtyJ+nK8qVzzBJr2RxF2sB0z5BT4QdCBe97NQIzFWqITGG0krnZxFyy7fA0N3 pjmwqui+XhCPa7Evn2B6FBVe7E0+yK/5JrUmjR44EuZVKnpI0NmAusz+RiqlOui1TYnv HybeukOYiX3na8g5xCv5zA1SRHP3Q5Dmz5F+OabV/+KW3P5Ag/VR0ds/t+8lQYm4Fq+q bhed90LJI4hxdrY9gmQOtHdqzRM5Xx7EpwMRB8JH6YjPDFIMYbIp8y9AyyTDpiJOoA1S 3FwgA9QLPxpjtFNmR2YFec0cB/M8fQ7SGJrW0b59L3eAgmDlYzZFEsga1p80kPxkJ09Q /W2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=47nDLmeP9CCnVKPlIg8SFdJ7QMltUB4o3PzBaMbLha8=; b=zVk9CTCBo8glhrE5Mu9vhpcyR+KiXFpW2H1EqjTX3f23099d6Rk9JY9UAL58q/rdQb swDLd7t4SiIBEDuaTpqE+pRLzQQMo8MfG/lpMOZ0X+jV2rmTQV06ySgEhtrrn0v1iQLE 6caHu0wXiojr3s/rissszMD/Ipa6LjDfLIcdpoN/T8YwDs6hjGZo/xt5JLUY/B7CNx8F BegmY0SDeSm7lL7RazfHf8NIKkyvISQ3iyTM5ZvHsK/oa4BV1vY24kkXphG27OMXhmfO vAbS81yE9zHbipLuaTBugiaRUccalYJp+et6e0T2Sa0bR4LIYRCVIFYVrUtLjvzkI327 Fj/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@galaxycrow.de header.s=dkim header.b=jkvtLgg0; 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=galaxycrow.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 126-20020a630084000000b0044bf53e335dsi8573456pga.767.2022.10.09.05.38.07; Sun, 09 Oct 2022 05:38:19 -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=@galaxycrow.de header.s=dkim header.b=jkvtLgg0; 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=galaxycrow.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230022AbiJIMKq (ORCPT + 99 others); Sun, 9 Oct 2022 08:10:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbiJIMKp (ORCPT ); Sun, 9 Oct 2022 08:10:45 -0400 X-Greylist: delayed 393 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 09 Oct 2022 05:10:44 PDT Received: from mail.galaxycrow.de (mail.galaxycrow.de [162.55.242.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E08422B27 for ; Sun, 9 Oct 2022 05:10:44 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 57C95620F9; Sun, 9 Oct 2022 14:03:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=galaxycrow.de; s=dkim; t=1665317049; h=from:subject:date:message-id:to:mime-version:content-type; bh=47nDLmeP9CCnVKPlIg8SFdJ7QMltUB4o3PzBaMbLha8=; b=jkvtLgg01cJDalSjU3eysx98IJA7tNSjXX/rvdGJhC6cLHLhxQ5XR3r1dvkdETm1MSG99F 25/daH6WlTxfU3eFnt6hPv0uIk387avE3OnHuI3+8DPSpzEngtZJcsw85KZxKHMe3vMDt9 GTQpJ6msb6UwJklUccxkBMWTSUsh9dQYjtLadr85xCqcv/2bWQUT/SgRi1z/6tbYOf/weV 4RHzUTXriiFNrPB7Y34dD1yOylF2E3kfZGbPDznJzQgNbM+miAOykXCEYttupMabWOpoax Xqh0r2p1FJbM/71UhQnzLLjeqrUpql9nITpmjKv8nvp+YZdpL+h1EMzYoAlDnQ== Date: Sun, 9 Oct 2022 14:03:40 +0200 From: Cleo John To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] Fixed styling in riscv ucontext header Message-ID: <20221009120340.GA41243@watet-ms7b87> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,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 This patch changes the two comments in ucontext.h by getting them up to the cody style proposed by torwalds. In my opinion this also improves the readability so I think this is a useful change to do. Please also tell me if you have a different opinion. Signed-off-by: Cleo John --- arch/riscv/include/uapi/asm/ucontext.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/riscv/include/uapi/asm/ucontext.h b/arch/riscv/include/uapi/asm/ucontext.h index 44eb993950e5..0cd6f8616985 100644 --- a/arch/riscv/include/uapi/asm/ucontext.h +++ b/arch/riscv/include/uapi/asm/ucontext.h @@ -18,7 +18,8 @@ struct ucontext { /* There's some padding here to allow sigset_t to be expanded in the * future. Though this is unlikely, other architectures put uc_sigmask * at the end of this structure and explicitly state it can be - * expanded, so we didn't want to box ourselves in here. */ + * expanded, so we didn't want to box ourselves in here. + */ __u8 __unused[1024 / 8 - sizeof(sigset_t)]; /* We can't put uc_sigmask at the end of this structure because we need * to be able to expand sigcontext in the future. For example, the @@ -27,7 +28,8 @@ struct ucontext { * ucontext, so we're putting this at the end in order to allow for * infinite extensibility. Since we know this will be extended and we * assume sigset_t won't be extended an extreme amount, we're - * prioritizing this. */ + * prioritizing this. + */ struct sigcontext uc_mcontext; }; -- 2.25.1