* [PATCH] page_pool: fix documentation typos
@ 2023-10-01 0:38 Randy Dunlap
2023-10-01 0:38 ` [PATCH] net: skbuff: fix kernel-doc typos Randy Dunlap
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Randy Dunlap @ 2023-10-01 0:38 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Jesper Dangaard Brouer, Ilias Apalodimas, netdev,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
Correct grammar for better readability.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jesper Dangaard Brouer <hawk@kernel.org>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
---
include/net/page_pool/helpers.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff -- a/include/net/page_pool/helpers.h b/include/net/page_pool/helpers.h
--- a/include/net/page_pool/helpers.h
+++ b/include/net/page_pool/helpers.h
@@ -16,13 +16,13 @@
* page_pool_alloc_pages() call. Drivers should use
* page_pool_dev_alloc_pages() replacing dev_alloc_pages().
*
- * API keeps track of in-flight pages, in order to let API user know
+ * The API keeps track of in-flight pages, in order to let API users know
* when it is safe to free a page_pool object. Thus, API users
* must call page_pool_put_page() to free the page, or attach
- * the page to a page_pool-aware objects like skbs marked with
+ * the page to a page_pool-aware object like skbs marked with
* skb_mark_for_recycle().
*
- * API user must call page_pool_put_page() once on a page, as it
+ * API users must call page_pool_put_page() once on a page, as it
* will either recycle the page, or in case of refcnt > 1, it will
* release the DMA mapping and in-flight state accounting.
*/
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH] net: skbuff: fix kernel-doc typos
2023-10-01 0:38 [PATCH] page_pool: fix documentation typos Randy Dunlap
@ 2023-10-01 0:38 ` Randy Dunlap
2023-10-03 10:44 ` Simon Horman
2023-10-03 10:45 ` [PATCH] page_pool: fix documentation typos Simon Horman
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Randy Dunlap @ 2023-10-01 0:38 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev
Correct punctuation.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org
---
include/linux/skbuff.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -- a/include/linux/skbuff.h b/include/linux/skbuff.h
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1309,7 +1309,7 @@ struct sk_buff_fclones {
*
* Returns true if skb is a fast clone, and its clone is not freed.
* Some drivers call skb_orphan() in their ndo_start_xmit(),
- * so we also check that this didnt happen.
+ * so we also check that this didn't happen.
*/
static inline bool skb_fclone_busy(const struct sock *sk,
const struct sk_buff *skb)
@@ -2016,7 +2016,7 @@ static inline struct sk_buff *skb_share_
* Copy shared buffers into a new sk_buff. We effectively do COW on
* packets to handle cases where we have a local reader and forward
* and a couple of other messy ones. The normal one is tcpdumping
- * a packet thats being forwarded.
+ * a packet that's being forwarded.
*/
/**
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] net: skbuff: fix kernel-doc typos
2023-10-01 0:38 ` [PATCH] net: skbuff: fix kernel-doc typos Randy Dunlap
@ 2023-10-03 10:44 ` Simon Horman
2023-10-04 21:21 ` Jakub Kicinski
0 siblings, 1 reply; 7+ messages in thread
From: Simon Horman @ 2023-10-03 10:44 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, netdev
On Sat, Sep 30, 2023 at 05:38:46PM -0700, Randy Dunlap wrote:
> Correct punctuation.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
> Cc: netdev@vger.kernel.org
> ---
> include/linux/skbuff.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff -- a/include/linux/skbuff.h b/include/linux/skbuff.h
> --- a/include/linux/skbuff.h
> +++ b/include/linux/skbuff.h
> @@ -1309,7 +1309,7 @@ struct sk_buff_fclones {
> *
> * Returns true if skb is a fast clone, and its clone is not freed.
> * Some drivers call skb_orphan() in their ndo_start_xmit(),
> - * so we also check that this didnt happen.
> + * so we also check that this didn't happen.
At the risk of bikeshedding (let's not) perhaps "this" can be dropped
from the line above?
In any case, I agree that this patch improves the documentation.
Reviewed-by: Simon Horman <horms@kernel.org>
> */
> static inline bool skb_fclone_busy(const struct sock *sk,
> const struct sk_buff *skb)
> @@ -2016,7 +2016,7 @@ static inline struct sk_buff *skb_share_
> * Copy shared buffers into a new sk_buff. We effectively do COW on
> * packets to handle cases where we have a local reader and forward
> * and a couple of other messy ones. The normal one is tcpdumping
> - * a packet thats being forwarded.
> + * a packet that's being forwarded.
> */
>
> /**
>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH] net: skbuff: fix kernel-doc typos
2023-10-03 10:44 ` Simon Horman
@ 2023-10-04 21:21 ` Jakub Kicinski
0 siblings, 0 replies; 7+ messages in thread
From: Jakub Kicinski @ 2023-10-04 21:21 UTC (permalink / raw)
To: Simon Horman
Cc: Randy Dunlap, linux-kernel, David S. Miller, Eric Dumazet,
Paolo Abeni, netdev
On Tue, 3 Oct 2023 12:44:47 +0200 Simon Horman wrote:
> > - * so we also check that this didnt happen.
> > + * so we also check that this didn't happen.
>
> At the risk of bikeshedding (let's not) perhaps "this" can be dropped
> from the line above?
+1, since we're touching the line we can as well..
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] page_pool: fix documentation typos
2023-10-01 0:38 [PATCH] page_pool: fix documentation typos Randy Dunlap
2023-10-01 0:38 ` [PATCH] net: skbuff: fix kernel-doc typos Randy Dunlap
@ 2023-10-03 10:45 ` Simon Horman
2023-10-03 15:29 ` Ilias Apalodimas
2023-10-04 21:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2023-10-03 10:45 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Jesper Dangaard Brouer, Ilias Apalodimas, netdev,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
On Sat, Sep 30, 2023 at 05:38:45PM -0700, Randy Dunlap wrote:
> Correct grammar for better readability.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] page_pool: fix documentation typos
2023-10-01 0:38 [PATCH] page_pool: fix documentation typos Randy Dunlap
2023-10-01 0:38 ` [PATCH] net: skbuff: fix kernel-doc typos Randy Dunlap
2023-10-03 10:45 ` [PATCH] page_pool: fix documentation typos Simon Horman
@ 2023-10-03 15:29 ` Ilias Apalodimas
2023-10-04 21:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 7+ messages in thread
From: Ilias Apalodimas @ 2023-10-03 15:29 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Jesper Dangaard Brouer, netdev, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni
Thanks Randy!
On Sun, 1 Oct 2023 at 03:38, Randy Dunlap <rdunlap@infradead.org> wrote:
>
> Correct grammar for better readability.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jesper Dangaard Brouer <hawk@kernel.org>
> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Cc: netdev@vger.kernel.org
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
> ---
> include/net/page_pool/helpers.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff -- a/include/net/page_pool/helpers.h b/include/net/page_pool/helpers.h
> --- a/include/net/page_pool/helpers.h
> +++ b/include/net/page_pool/helpers.h
> @@ -16,13 +16,13 @@
> * page_pool_alloc_pages() call. Drivers should use
> * page_pool_dev_alloc_pages() replacing dev_alloc_pages().
> *
> - * API keeps track of in-flight pages, in order to let API user know
> + * The API keeps track of in-flight pages, in order to let API users know
> * when it is safe to free a page_pool object. Thus, API users
> * must call page_pool_put_page() to free the page, or attach
> - * the page to a page_pool-aware objects like skbs marked with
> + * the page to a page_pool-aware object like skbs marked with
> * skb_mark_for_recycle().
> *
> - * API user must call page_pool_put_page() once on a page, as it
> + * API users must call page_pool_put_page() once on a page, as it
> * will either recycle the page, or in case of refcnt > 1, it will
> * release the DMA mapping and in-flight state accounting.
> */
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] page_pool: fix documentation typos
2023-10-01 0:38 [PATCH] page_pool: fix documentation typos Randy Dunlap
` (2 preceding siblings ...)
2023-10-03 15:29 ` Ilias Apalodimas
@ 2023-10-04 21:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 7+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-10-04 21:30 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, hawk, ilias.apalodimas, netdev, davem, edumazet,
kuba, pabeni
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sat, 30 Sep 2023 17:38:45 -0700 you wrote:
> Correct grammar for better readability.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jesper Dangaard Brouer <hawk@kernel.org>
> Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> Cc: netdev@vger.kernel.org
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
>
> [...]
Here is the summary with links:
- page_pool: fix documentation typos
https://git.kernel.org/netdev/net/c/513dbc10cfc1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-10-04 21:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01 0:38 [PATCH] page_pool: fix documentation typos Randy Dunlap
2023-10-01 0:38 ` [PATCH] net: skbuff: fix kernel-doc typos Randy Dunlap
2023-10-03 10:44 ` Simon Horman
2023-10-04 21:21 ` Jakub Kicinski
2023-10-03 10:45 ` [PATCH] page_pool: fix documentation typos Simon Horman
2023-10-03 15:29 ` Ilias Apalodimas
2023-10-04 21:30 ` patchwork-bot+netdevbpf
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).