Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

page_pool: fix documentation typos

Correct grammar for better readability.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jesper Dangaard Brouer <hawk@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Link: https://lore.kernel.org/r/20231001003846.29541-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Randy Dunlap and committed by
Jakub Kicinski
513dbc10 08e50cf0

+3 -3
+3 -3
include/net/page_pool/helpers.h
··· 16 16 * page_pool_alloc_pages() call. Drivers should use 17 17 * page_pool_dev_alloc_pages() replacing dev_alloc_pages(). 18 18 * 19 - * API keeps track of in-flight pages, in order to let API user know 19 + * The API keeps track of in-flight pages, in order to let API users know 20 20 * when it is safe to free a page_pool object. Thus, API users 21 21 * must call page_pool_put_page() to free the page, or attach 22 - * the page to a page_pool-aware objects like skbs marked with 22 + * the page to a page_pool-aware object like skbs marked with 23 23 * skb_mark_for_recycle(). 24 24 * 25 - * API user must call page_pool_put_page() once on a page, as it 25 + * API users must call page_pool_put_page() once on a page, as it 26 26 * will either recycle the page, or in case of refcnt > 1, it will 27 27 * release the DMA mapping and in-flight state accounting. 28 28 */