netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] Documentation: ieee802154: fix grammar
@ 2024-10-23  4:12 Leo Stone
  2024-10-23  8:13 ` Miquel Raynal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Leo Stone @ 2024-10-23  4:12 UTC (permalink / raw)
  To: alex.aring, stefan, miquel.raynal, davem, edumazet, kuba, pabeni,
	corbet
  Cc: Leo Stone, linux-wpan, netdev, linux-doc, linux-kernel, skhan,
	anupnewmail

Fix grammar where it improves readability.

Signed-off-by: Leo Stone <leocstone@gmail.com>
---
 Documentation/networking/ieee802154.rst | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/Documentation/networking/ieee802154.rst b/Documentation/networking/ieee802154.rst
index c652d383fe10..743c0a80e309 100644
--- a/Documentation/networking/ieee802154.rst
+++ b/Documentation/networking/ieee802154.rst
@@ -72,7 +72,8 @@ exports a management (e.g. MLME) and data API.
 possibly with some kinds of acceleration like automatic CRC computation and
 comparison, automagic ACK handling, address matching, etc.
 
-Those types of devices require different approach to be hooked into Linux kernel.
+Each type of device requires a different approach to be hooked into the Linux
+kernel.
 
 HardMAC
 -------
@@ -81,10 +82,10 @@ See the header include/net/ieee802154_netdev.h. You have to implement Linux
 net_device, with .type = ARPHRD_IEEE802154. Data is exchanged with socket family
 code via plain sk_buffs. On skb reception skb->cb must contain additional
 info as described in the struct ieee802154_mac_cb. During packet transmission
-the skb->cb is used to provide additional data to device's header_ops->create
-function. Be aware that this data can be overridden later (when socket code
-submits skb to qdisc), so if you need something from that cb later, you should
-store info in the skb->data on your own.
+the skb->cb is used to provide additional data to the device's
+header_ops->create function. Be aware that this data can be overridden later
+(when socket code submits skb to qdisc), so if you need something from that cb
+later, you should store info in the skb->data on your own.
 
 To hook the MLME interface you have to populate the ml_priv field of your
 net_device with a pointer to struct ieee802154_mlme_ops instance. The fields
@@ -94,8 +95,9 @@ All other fields are required.
 SoftMAC
 -------
 
-The MAC is the middle layer in the IEEE 802.15.4 Linux stack. This moment it
-provides interface for drivers registration and management of slave interfaces.
+The MAC is the middle layer in the IEEE 802.15.4 Linux stack. At the moment, it
+provides an interface for driver registration and management of slave
+interfaces.
 
 NOTE: Currently the only monitor device type is supported - it's IEEE 802.15.4
 stack interface for network sniffers (e.g. WireShark).
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH net] Documentation: ieee802154: fix grammar
  2024-10-23  4:12 [PATCH net] Documentation: ieee802154: fix grammar Leo Stone
@ 2024-10-23  8:13 ` Miquel Raynal
  2024-10-24 12:21 ` Simon Horman
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Miquel Raynal @ 2024-10-23  8:13 UTC (permalink / raw)
  To: Leo Stone
  Cc: alex.aring, stefan, davem, edumazet, kuba, pabeni, corbet,
	linux-wpan, netdev, linux-doc, linux-kernel, skhan, anupnewmail

Hi Leo,

leocstone@gmail.com wrote on Tue, 22 Oct 2024 21:12:01 -0700:

> Fix grammar where it improves readability.
> 
> Signed-off-by: Leo Stone <leocstone@gmail.com>

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>

Thanks,
Miquèl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net] Documentation: ieee802154: fix grammar
  2024-10-23  4:12 [PATCH net] Documentation: ieee802154: fix grammar Leo Stone
  2024-10-23  8:13 ` Miquel Raynal
@ 2024-10-24 12:21 ` Simon Horman
  2024-10-24 13:26 ` Bagas Sanjaya
  2024-10-28 16:35 ` Stefan Schmidt
  3 siblings, 0 replies; 5+ messages in thread
From: Simon Horman @ 2024-10-24 12:21 UTC (permalink / raw)
  To: Leo Stone
  Cc: alex.aring, stefan, miquel.raynal, davem, edumazet, kuba, pabeni,
	corbet, linux-wpan, netdev, linux-doc, linux-kernel, skhan,
	anupnewmail

On Tue, Oct 22, 2024 at 09:12:01PM -0700, Leo Stone wrote:
> Fix grammar where it improves readability.
> 
> Signed-off-by: Leo Stone <leocstone@gmail.com>

Reviewed-by: Simon Horman <horms@kernel.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net] Documentation: ieee802154: fix grammar
  2024-10-23  4:12 [PATCH net] Documentation: ieee802154: fix grammar Leo Stone
  2024-10-23  8:13 ` Miquel Raynal
  2024-10-24 12:21 ` Simon Horman
@ 2024-10-24 13:26 ` Bagas Sanjaya
  2024-10-28 16:35 ` Stefan Schmidt
  3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2024-10-24 13:26 UTC (permalink / raw)
  To: Leo Stone, alex.aring, stefan, miquel.raynal, davem, edumazet,
	kuba, pabeni, corbet
  Cc: linux-wpan, netdev, linux-doc, linux-kernel, skhan, anupnewmail

[-- Attachment #1: Type: text/plain, Size: 2521 bytes --]

On Tue, Oct 22, 2024 at 09:12:01PM -0700, Leo Stone wrote:
> diff --git a/Documentation/networking/ieee802154.rst b/Documentation/networking/ieee802154.rst
> index c652d383fe10..743c0a80e309 100644
> --- a/Documentation/networking/ieee802154.rst
> +++ b/Documentation/networking/ieee802154.rst
> @@ -72,7 +72,8 @@ exports a management (e.g. MLME) and data API.
>  possibly with some kinds of acceleration like automatic CRC computation and
>  comparison, automagic ACK handling, address matching, etc.
>  
> -Those types of devices require different approach to be hooked into Linux kernel.
> +Each type of device requires a different approach to be hooked into the Linux
> +kernel.
>  
>  HardMAC
>  -------
> @@ -81,10 +82,10 @@ See the header include/net/ieee802154_netdev.h. You have to implement Linux
>  net_device, with .type = ARPHRD_IEEE802154. Data is exchanged with socket family
>  code via plain sk_buffs. On skb reception skb->cb must contain additional
>  info as described in the struct ieee802154_mac_cb. During packet transmission
> -the skb->cb is used to provide additional data to device's header_ops->create
> -function. Be aware that this data can be overridden later (when socket code
> -submits skb to qdisc), so if you need something from that cb later, you should
> -store info in the skb->data on your own.
> +the skb->cb is used to provide additional data to the device's
> +header_ops->create function. Be aware that this data can be overridden later
> +(when socket code submits skb to qdisc), so if you need something from that cb
> +later, you should store info in the skb->data on your own.
>  
>  To hook the MLME interface you have to populate the ml_priv field of your
>  net_device with a pointer to struct ieee802154_mlme_ops instance. The fields
> @@ -94,8 +95,9 @@ All other fields are required.
>  SoftMAC
>  -------
>  
> -The MAC is the middle layer in the IEEE 802.15.4 Linux stack. This moment it
> -provides interface for drivers registration and management of slave interfaces.
> +The MAC is the middle layer in the IEEE 802.15.4 Linux stack. At the moment, it
> +provides an interface for driver registration and management of slave
> +interfaces.
>  
>  NOTE: Currently the only monitor device type is supported - it's IEEE 802.15.4
>  stack interface for network sniffers (e.g. WireShark).

Looks good, thanks!

Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net] Documentation: ieee802154: fix grammar
  2024-10-23  4:12 [PATCH net] Documentation: ieee802154: fix grammar Leo Stone
                   ` (2 preceding siblings ...)
  2024-10-24 13:26 ` Bagas Sanjaya
@ 2024-10-28 16:35 ` Stefan Schmidt
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Schmidt @ 2024-10-28 16:35 UTC (permalink / raw)
  To: alex.aring, miquel.raynal, davem, edumazet, kuba, pabeni, corbet,
	Leo Stone
  Cc: Stefan Schmidt, linux-wpan, netdev, linux-doc, linux-kernel,
	skhan, anupnewmail

Hello Leo Stone.

On Tue, 22 Oct 2024 21:12:01 -0700, Leo Stone wrote:
> Fix grammar where it improves readability.
> 
> 

Applied to wpan/wpan-next.git, thanks!

[1/1] Documentation: ieee802154: fix grammar
      https://git.kernel.org/wpan/wpan-next/c/2107395f0711

regards,
Stefan Schmidt

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-28 16:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-23  4:12 [PATCH net] Documentation: ieee802154: fix grammar Leo Stone
2024-10-23  8:13 ` Miquel Raynal
2024-10-24 12:21 ` Simon Horman
2024-10-24 13:26 ` Bagas Sanjaya
2024-10-28 16:35 ` Stefan Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).