Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp423384rwo; Fri, 21 Jul 2023 14:16:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlEbsJIbctUCI6LiybZCDD1rTKsw5Ft7n/zpQ9y+1ZHsMlJX2A8k8JeFugl4QGQqW16mNyBG X-Received: by 2002:a05:6512:b96:b0:4fd:c23b:959d with SMTP id b22-20020a0565120b9600b004fdc23b959dmr3266071lfv.34.1689974201306; Fri, 21 Jul 2023 14:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689974201; cv=none; d=google.com; s=arc-20160816; b=M7ly1mJEfknzFTkIKaOQGudI519MrLjvtlzGC7heFL1w7ZI1aId8quK54DAxX6JUfM jwQTsfZyLajRohYOcxcqqayIcv7Dy3/oB2eADxEsHBzdyJGpI1KUKzW0TBp2FtdZYd5W yeke65EwCfHbnythCunRNilx+2xLc4EAq8qblx9WcC7eUfGsYV+cK1TZ4BWLIALAXKX3 jhgK9/elPhsAP5PIRnAbf09ip7kLr0zy/BlDmWV2D55EcGDUhMPH0PPubuPC2bMX4UY7 /Bw/61JxEjxX0Ye7ECwWyUVZSKTho0FWfJYgO1KDBE7OCoUAgSA9+abi1LWLXsClLks4 I6TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=uooNNHsnavtZDFWMnhrK7qfIkdzRUtt/iYGfwA0MW60=; fh=JT2k/lHng2pvd+jhk4RvqdcbPNIXv5WpfPv8Cz+I59M=; b=eBtl9uwjSJhlri3DQXkKDKgWluFjnXus9g3pLMRjH7eiiumImN3kOcbwBKlFe+GOdO vGiDrFPbRihvHnQJSVGG+q2xCJfaMSVsn/65e3Ppn7OpbLJA3NhFMnfmBbEvM67mQPuA 9TD0CFb97kT8WMIPLvGKlteGVcaUQ6zzw6dJ1IQ9QpSjWfRfiHLq8T1Fpe/197AO7CRu JPVtzhDq7MpBcEiXE/UXQ0secAprHp5mkOF9H6nPCpeUq8rQQOHhvuI3fvCx3r2of4qf F5lOxjRj3nHl3idtZ9CIpmnkhacP0AWpjZZ+TmKd6u/rJA0kR2wPFhNMNDB1FEdHJATM k9Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=q5E12Eou; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020aa7dd07000000b0051e57e85cfbsi2695849edv.545.2023.07.21.14.16.14; Fri, 21 Jul 2023 14:16:41 -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=@lwn.net header.s=20201203 header.b=q5E12Eou; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjGUUrj (ORCPT + 99 others); Fri, 21 Jul 2023 16:47:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjGUUri (ORCPT ); Fri, 21 Jul 2023 16:47:38 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F8B30E2; Fri, 21 Jul 2023 13:47:37 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 02D0A733; Fri, 21 Jul 2023 20:47:36 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 02D0A733 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1689972457; bh=uooNNHsnavtZDFWMnhrK7qfIkdzRUtt/iYGfwA0MW60=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=q5E12EouGHqAxrE/YXKVPqx/ucr3m21SL8SWzG99/mguvQ0EHTDbwSgcck7cWeBJs NTH4XtLvQ3eJqaL33fcNC71w99DHsM9BzlEm0QbzaNHfcjkGrZBC7LBcqdjqE5vfd8 +BCf1KA5/cc2l12aNMFqAx4i2gjOZmuLeXawjVzZQUy1JW3amntPUKcJhYvCemAx+3 RzZzIrbhZ5Dk2RKmQusAJ6wJwxWZyzL5xrtDRmAm1qwY+tBilPdusDsLXF2ijOHcAq OlqeATWzhuDpNgv6nCa08FWqDEbVLCzpmq6FzwkxiHziOZ26yKkkXAkuLpz43soneI T/Ll/5J+pxwRQ== From: Jonathan Corbet To: Hu Haowen , dan.j.williams@intel.com, dave.jiang@intel.com, Jonathan.Cameron@huawei.com, hdegoede@redhat.com Cc: Hu Haowen , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] docs: ABI: sysfs-bus-nvdimm: correct indentations In-Reply-To: <20230716161443.1375-1-src.res.211@gmail.com> References: <20230716161443.1375-1-src.res.211@gmail.com> Date: Fri, 21 Jul 2023 14:47:35 -0600 Message-ID: <87h6pxc7q0.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain 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, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hu Haowen writes: > The identations from line 1 to 4 within sysfs-bus-nvdimm were wrongly > incompatible with the indentations of the following contents. Hence > correct them. > > Discovered when I was executing "make htmldocs" and received the > following stderr output: > > /<... root dir ...>/Documentation/ABI/testing/sysfs-bus-nvdimm:11: WARNING: Unexpected indentation. > > Signed-off-by: Hu Haowen > --- > Documentation/ABI/testing/sysfs-bus-nvdimm | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-nvdimm b/Documentation/ABI/testing/sysfs-bus-nvdimm > index de8c5a59c77f..8d048f8e3c39 100644 > --- a/Documentation/ABI/testing/sysfs-bus-nvdimm > +++ b/Documentation/ABI/testing/sysfs-bus-nvdimm > @@ -1,7 +1,7 @@ > -What: nvdimm > -Date: July 2020 > -KernelVersion: 5.8 > -Contact: Dan Williams > +What: nvdimm > +Date: July 2020 > +KernelVersion: 5.8 > +Contact: Dan Williams > Description: There's only one little problem ... that's not where the error was, so this change doesn't actually make the warning go away. I've committed the following instead. Thanks, jon docs: ABI: fix an RST error in sysfs-bus-nvdimm The literal blocks in this file lacked the necessary blank line at the top, causing Sphinx to complain: /Documentation/ABI/testing/sysfs-bus-nvdimm:11: WARNING: Unexpected indentation. Add the lines it's longing for and bring about a bit of warning peace. Reported-by: Hu Haowen Signed-off-by: Jonathan Corbet --- Documentation/ABI/testing/sysfs-bus-nvdimm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-bus-nvdimm b/Documentation/ABI/testing/sysfs-bus-nvdimm index de8c5a59c77f..64eb8f4c6a41 100644 --- a/Documentation/ABI/testing/sysfs-bus-nvdimm +++ b/Documentation/ABI/testing/sysfs-bus-nvdimm @@ -18,10 +18,12 @@ Description: (RO) Attribute group to describe the magic bits Each attribute under this group defines a bit range of the perf_event_attr.config. Supported attribute is listed below:: + event = "config:0-4" - event ID For example:: - ctl_res_cnt = "event=0x1" + + ctl_res_cnt = "event=0x1" What: /sys/bus/event_source/devices/nmemX/events Date: February 2022 -- 2.41.0