From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755211AbbDIKSq (ORCPT ); Thu, 9 Apr 2015 06:18:46 -0400 Received: from svenfoo.org ([82.94.215.22]:42282 "EHLO mail.zonque.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754879AbbDIKSj (ORCPT ); Thu, 9 Apr 2015 06:18:39 -0400 Message-ID: <552651F1.8080401@zonque.org> Date: Thu, 09 Apr 2015 12:18:25 +0200 From: Daniel Mack User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Sergei Zviagintsev , Greg Kroah-Hartman , David Herrmann , Djalal Harouni CC: Jonathan Corbet , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH] Documentation: kdbus: Fix typos References: <1428574087-18502-1-git-send-email-sergei@s15v.net> In-Reply-To: <1428574087-18502-1-git-send-email-sergei@s15v.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/09/2015 12:08 PM, Sergei Zviagintsev wrote: > Signed-off-by: Sergei Zviagintsev Acked-by: Daniel Mack Thanks for spotting those! > --- > Documentation/kdbus/kdbus.bus.xml | 9 ++++----- > Documentation/kdbus/kdbus.connection.xml | 10 ++++------ > Documentation/kdbus/kdbus.endpoint.xml | 2 +- > Documentation/kdbus/kdbus.item.xml | 9 ++++----- > Documentation/kdbus/kdbus.match.xml | 14 ++++++++------ > Documentation/kdbus/kdbus.message.xml | 11 +++++------ > Documentation/kdbus/kdbus.xml | 6 +++--- > 7 files changed, 29 insertions(+), 32 deletions(-) > > diff --git a/Documentation/kdbus/kdbus.bus.xml b/Documentation/kdbus/kdbus.bus.xml > index 4d875e59ac02..4b9a0ac1b351 100644 > --- a/Documentation/kdbus/kdbus.bus.xml > +++ b/Documentation/kdbus/kdbus.bus.xml > @@ -28,8 +28,7 @@ > > kdbus.message > 7 > - > - ). > + ). > Each bus is independent, and operations on the bus will not have any > effect on other buses. A bus is a management entity that controls the > addresses of its connections, their policies and message transactions > @@ -42,7 +41,7 @@ > kdbus.fs > 7 > > - , a bus is presented as a directory. No operations can be performed on > + a bus is presented as a directory. No operations can be performed on > the bus itself; instead you need to perform the operations on an endpoint > associated with the bus. Endpoints are accessible as files underneath the > bus directory. A default endpoint called bus is > @@ -165,8 +164,8 @@ struct kdbus_cmd { > > kdbus.item > 7 > - > - ) are expected for KDBUS_CMD_BUS_MAKE. > + ) > + are expected for KDBUS_CMD_BUS_MAKE. > > > > diff --git a/Documentation/kdbus/kdbus.connection.xml b/Documentation/kdbus/kdbus.connection.xml > index 09852125b2d4..cefb419f1093 100644 > --- a/Documentation/kdbus/kdbus.connection.xml > +++ b/Documentation/kdbus/kdbus.connection.xml > @@ -50,8 +50,7 @@ > > kdbus.match > 7 > - > - ). > + ). > > > Messages synthesized and sent directly by the kernel will carry the > @@ -595,13 +594,13 @@ struct kdbus_cmd_info { > > > > - flags > + attach_flags > > Specifies which metadata items should be attached to the answer. See > > kdbus.message > 7 > - > + . > > > > @@ -986,8 +985,7 @@ struct kdbus_cmd { > items > > > - Items to describe the connection details to be updated. The > - following item types are supported. > + The following item types are supported. > > > > diff --git a/Documentation/kdbus/kdbus.endpoint.xml b/Documentation/kdbus/kdbus.endpoint.xml > index 76e325d4e931..f3eb4f8c58ce 100644 > --- a/Documentation/kdbus/kdbus.endpoint.xml > +++ b/Documentation/kdbus/kdbus.endpoint.xml > @@ -201,7 +201,7 @@ struct kdbus_cmd { > > To update an existing endpoint, the > KDBUS_CMD_ENDPOINT_UPDATE command is used on the file > - descriptor that was used to create the update, using > + descriptor that was used to create the endpoint, using > KDBUS_CMD_ENDPOINT_MAKE. The only relevant detail of > the endpoint that can be updated is the policy. When the command is > employed, the policy of the endpoint is replaced > diff --git a/Documentation/kdbus/kdbus.item.xml b/Documentation/kdbus/kdbus.item.xml > index bfe47362097f..09f8b903116f 100644 > --- a/Documentation/kdbus/kdbus.item.xml > +++ b/Documentation/kdbus/kdbus.item.xml > @@ -139,7 +139,7 @@ struct kdbus_item { > KDBUS_ITEM_NEGOTIATE > > With this item is attached to any ioctl, programs can > - probe the kernel for known item items. > + probe the kernel for known item types. > The item carries an array of uint64_t values in > item.data64, each set to an item type to > probe. The kernel will reset each member of this array that is > @@ -232,7 +232,6 @@ struct kdbus_memfd { > When received as item attached to a message, the array will > contain the numbers of the installed file descriptors, or > -1 in case an error occurred. > - file descriptor. > In either case, the number of entries in the array is derived from > the item's total size. See > > @@ -487,7 +486,7 @@ struct kdbus_pids { > a remote peer is a member of, stored as array of > uint32_t values in item.data32. > The array length can be determined by looking at the item's total > - size, subtracting the size of the header and and dividing the > + size, subtracting the size of the header and dividing the > remainder by sizeof(uint32_t). > > > @@ -748,7 +747,7 @@ struct kdbus_notify_name_change { > This item is sent as attachment to a > kernel notification. It informs the receiver > that an expected reply to a message was not received in time. > - The remote peer ID and the message cookie is stored in the message > + The remote peer ID and the message cookie are stored in the message > header. See > > kdbus.message > @@ -765,7 +764,7 @@ struct kdbus_notify_name_change { > kernel notification. It informs the receiver > that a remote connection a reply is expected from was disconnected > before that reply was sent. The remote peer ID and the message > - cookie is stored in the message header. See > + cookie are stored in the message header. See > > kdbus.message > 7 > diff --git a/Documentation/kdbus/kdbus.match.xml b/Documentation/kdbus/kdbus.match.xml > index ef77b64e5890..ae38e04ab4d6 100644 > --- a/Documentation/kdbus/kdbus.match.xml > +++ b/Documentation/kdbus/kdbus.match.xml > @@ -55,7 +55,7 @@ > possibly along with some other rules to further limit the match. > > The kernel will match the signal message's bloom filter against the > - connections bloom mask (simply by &-ing it), and will decide whether > + connection's bloom mask (simply by &-ing it), and will decide whether > the message should be delivered to a connection. > > > @@ -138,9 +138,9 @@ > Generations > > > - Uploaded matches may contain multiple masks, which have are as large as > - the bloom size defined by the bus. Each block of a mask is called a > - generation, starting at index 0. > + Uploaded matches may contain multiple masks, which have to be as large > + as the bloom filter size defined by the bus. Each block of a mask is > + called a generation, starting at index 0. > > At match time, when a signal is about to be delivered, a bloom mask > generation is passed, which denotes which of the bloom masks the filter > @@ -171,7 +171,8 @@ > Adding a match > > To add a match, the KDBUS_CMD_MATCH_ADD ioctl is > - used, which takes a struct of the struct described below. > + used, which takes a struct kdbus_cmd_match as an argument > + described below. > > Note that each of the items attached to this command will internally > create one match rule, and the collection of them, > @@ -266,7 +267,8 @@ struct kdbus_cmd_match { > An item that carries the bloom filter mask to match against > in its data field. The payload size must match the bloom > filter size that was specified when the bus was created. > - See the section below for more information on bloom filters. > + See the "Bloom filters" section above for more information on > + bloom filters. > > > > diff --git a/Documentation/kdbus/kdbus.message.xml b/Documentation/kdbus/kdbus.message.xml > index 5e7c7a3f537e..061a407d50c7 100644 > --- a/Documentation/kdbus/kdbus.message.xml > +++ b/Documentation/kdbus/kdbus.message.xml > @@ -344,8 +344,7 @@ struct kdbus_cmd_send { > > > > - The fields in this struct are described below. > - The message referenced the msg_address above has > + The message referenced by the msg_address above has > the following layout. > > > @@ -528,7 +527,7 @@ struct kdbus_msg { > > > Actual data records containing the payload. See section > - "Passing of Payload Data". > + "Message payload". > > > > @@ -707,7 +706,7 @@ struct kdbus_cmd_recv { > > Whenever a message with KDBUS_MSG_SIGNAL is sent > but cannot be queued on a peer (e.g., as it contains FDs but the peer > - does not support FDs, or there is no space left in the peer's pool..) > + does not support FDs, or there is no space left in the peer's pool) > the 'dropped_msgs' counter of the peer is incremented. On the next > RECV ioctl, the 'dropped_msgs' field is copied into the ioctl struct > and cleared on the peer. If it was non-zero, the > @@ -963,7 +962,7 @@ struct kdbus_msg_info { > > E2BIG > > - Too many items > + Too many items. > > > > @@ -1172,7 +1171,7 @@ struct kdbus_msg_info { > > EAGAIN > > - No message found in the queue > + No message found in the queue. > > > > diff --git a/Documentation/kdbus/kdbus.xml b/Documentation/kdbus/kdbus.xml > index 194abd2e76cc..d8e7400df2af 100644 > --- a/Documentation/kdbus/kdbus.xml > +++ b/Documentation/kdbus/kdbus.xml > @@ -379,7 +379,7 @@ > > > When a message is sent (KDBUS_CMD_SEND), > - information about the sending task and the sending connection are > + information about the sending task and the sending connection is > collected. This metadata will be attached to the message when it > arrives in the receiver's pool. If the connection sending the > message installed faked credentials (see > @@ -514,7 +514,7 @@ > To let the kernel know which metadata information to attach as items > to the aforementioned commands, it uses a bitmask. In those, the > following attach flags are currently supported. > - Both the the attach_flags_recv and > + Both the attach_flags_recv and > attach_flags_send fields of > struct kdbus_cmd_hello, as well as the payload of the > KDBUS_ITEM_ATTACH_FLAGS_SEND and > @@ -924,7 +924,7 @@ > > > These ioctls, along with the structs they transport, are explained in > - detail in the other documents linked to in the 'see also' section below. > + detail in the other documents linked to in the "See Also" section below. > > > >