From patchwork Fri Nov 4 00:38:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 15263 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp82036wru; Thu, 3 Nov 2022 17:39:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM54A5bYoGWWj/ySVd/ZEZXZbeLs2RkVhbrqVzklGpDecscmiylIplR0SXdsgGxY0Zcw5QnV X-Received: by 2002:a17:902:768c:b0:186:b136:187a with SMTP id m12-20020a170902768c00b00186b136187amr31979374pll.94.1667522383602; Thu, 03 Nov 2022 17:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667522383; cv=none; d=google.com; s=arc-20160816; b=oN/0e/S/ojOLjOtHN0ZhQbOjBZiSf8njBAi6e6ldo1FXsGmHOgrvymvFbtKnLMpk/H Z0kNI0q3Nn33MTFAbksv7LrSWw6iVKoImFM9pd7EHKrBk5PLCmtQ7eAE8YFT9Vj7u7/+ dBblkWr82nFrMTzFugyZHfw0/QrwWVr396vIgEonB0tNsrEHbUnarCin3Oy909npn4Mm xGbO58n5bzIfmZ/4cg+2H4j+kDEkq/NuYK6pCQLPBAZ5NKzPPhpItM91nPLuVkh8zcEU v8svqwbJsVf3mVNVg2tm9Q1QovVdP1gfzobltuNC8tgRIosEzT0Wgh+EQ/TCFvKLCg08 rlxQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=7/VDsmcUfW64igp3tr4bheqcBK30NchUj2FJa4I48w8=; b=eUAeJvjFxpNg79eU9PPdUH+tkKpRnzrdO7D6gJwKxq0A4qp4wvN/TSdLd+0Qqu/tgR TAXrdFdf2aJDkIZBbpZrjJ/44ExKuIMFU2ukOM2yl9rBTMm+1ulnRMKdI85qfV8+8OCM bHuAbocse8IgNc0WZSkKU0XpMtfxu2WtOE6qUQSCP1lZ9HJ21U+/A70/CgStPNxjzE1e dOw54axAgnqxJgbz/MQUWojwqhII6OKTXjeHEjKpFnAjjbqHjUXq1yKMgnm39k/qk/8Z nyL4sSBgttvrknJSpS/fFp/U/En69llvMZ1Zmu/JRAZg3Z+KDJIbgObvmMBO9SUXNTSr anag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=as8dmT+6; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c14-20020a056a000ace00b005633766252asi2886706pfl.313.2022.11.03.17.39.30; Thu, 03 Nov 2022 17:39:43 -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=@infradead.org header.s=casper.20170209 header.b=as8dmT+6; 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 S230459AbiKDAir (ORCPT + 99 others); Thu, 3 Nov 2022 20:38:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbiKDAip (ORCPT ); Thu, 3 Nov 2022 20:38:45 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6ABDB1F9DA; Thu, 3 Nov 2022 17:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=7/VDsmcUfW64igp3tr4bheqcBK30NchUj2FJa4I48w8=; b=as8dmT+6yUgYIooJWAeqrZR5wj p5EUlEz1SZEXRT/7vXxEZ8N8OtaSR5sbGQ8GLduey2Q1dBWQpwtkukL4eVWzinjuRI0iN5PTEfmwo /baWu/xE93wWGZaQvGqgtjGC0dDfO+uk5ZsGqrimb+27+LG2FFmKSCcIauHMDRKmetHjnz6CtpcIU 8Y6FMqoZQxKuDsWROEEWaaOGRskPoiT2WbjlVx6SRJEjkPVeuVOUWc4fwreaz0lI9MYJ9gtdRx1+K OmYZJNeB3HrnxE4czmaEyj0X5HdYjZaosHnnr/ML57HcuAx2ZKVSEiz55MpyDBFPiCrc7sIWT6sCA YI5eXc3Q==; Received: from [2601:1c2:d80:3110::a2e7] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqkjN-006vdD-9E; Fri, 04 Nov 2022 00:38:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Greg Kroah-Hartman , Jonathan Corbet , linux-doc@vger.kernel.org, "Rafael J. Wysocki" Subject: [PATCH] debugfs: small Documentation cleaning Date: Thu, 3 Nov 2022 17:38:35 -0700 Message-Id: <20221104003835.29472-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748523951140330719?= X-GMAIL-MSGID: =?utf-8?q?1748523951140330719?= Fix punctuation in a parenthetical phrase. Add 2 article adjectives and change one from "an" to "a". Signed-off-by: Randy Dunlap Cc: Greg Kroah-Hartman Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Cc: "Rafael J. Wysocki" --- Documentation/filesystems/debugfs.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -- a/Documentation/filesystems/debugfs.rst b/Documentation/filesystems/debugfs.rst --- a/Documentation/filesystems/debugfs.rst +++ b/Documentation/filesystems/debugfs.rst @@ -155,8 +155,8 @@ any code which does so in the mainline. debugfs_create_blob() are read-only. If you want to dump a block of registers (something that happens quite -often during development, even if little such code reaches mainline. -Debugfs offers two functions: one to make a registers-only file, and +often during development, even if little such code reaches mainline), +debugfs offers two functions: one to make a registers-only file, and another to insert a register block in the middle of another sequential file:: @@ -183,7 +183,7 @@ The "base" argument may be 0, but you ma using __stringify, and a number of register names (macros) are actually byte offsets over a base for the register block. -If you want to dump an u32 array in debugfs, you can create file with:: +If you want to dump a u32 array in debugfs, you can create a file with:: struct debugfs_u32_array { u32 *array; @@ -197,7 +197,7 @@ If you want to dump an u32 array in debu The "array" argument wraps a pointer to the array's data and the number of its elements. Note: Once array is created its size can not be changed. -There is a helper function to create device related seq_file:: +There is a helper function to create a device-related seq_file:: void debugfs_create_devm_seqfile(struct device *dev, const char *name,