[PATCH] Documentation/core-api: correct reference to SWIOTLB_DYNAMIC

Lukas Bulwahn posted 1 patch 2 years, 1 month ago
Documentation/core-api/swiotlb.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Documentation/core-api: correct reference to SWIOTLB_DYNAMIC
Posted by Lukas Bulwahn 2 years, 1 month ago
From: Lukas Bulwahn <lukas.bulwahn@redhat.com>

Commit c93f261dfc39 ("Documentation/core-api: add swiotlb documentation")
accidentally refers to CONFIG_DYNAMIC_SWIOTLB in one place, while the
config is actually called CONFIG_SWIOTLB_DYNAMIC.

Correct the reference to the intended config option.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>
---
 Documentation/core-api/swiotlb.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/swiotlb.rst b/Documentation/core-api/swiotlb.rst
index 5ad2c9ca85bc..cf06bae44ff8 100644
--- a/Documentation/core-api/swiotlb.rst
+++ b/Documentation/core-api/swiotlb.rst
@@ -192,7 +192,7 @@ alignment larger than PAGE_SIZE.
 
 Dynamic swiotlb
 ---------------
-When CONFIG_DYNAMIC_SWIOTLB is enabled, swiotlb can do on-demand expansion of
+When CONFIG_SWIOTLB_DYNAMIC is enabled, swiotlb can do on-demand expansion of
 the amount of memory available for allocation as bounce buffers. If a bounce
 buffer request fails due to lack of available space, an asynchronous background
 task is kicked off to allocate memory from general system memory and turn it
-- 
2.45.1
Re: [PATCH] Documentation/core-api: correct reference to SWIOTLB_DYNAMIC
Posted by Christoph Hellwig 2 years, 1 month ago
Thanks, applied.
Re: [PATCH] Documentation/core-api: correct reference to SWIOTLB_DYNAMIC
Posted by Petr Tesařík 2 years, 1 month ago
On Mon, 27 May 2024 15:13:14 +0200
Lukas Bulwahn <lbulwahn@redhat.com> wrote:

> From: Lukas Bulwahn <lukas.bulwahn@redhat.com>
> 
> Commit c93f261dfc39 ("Documentation/core-api: add swiotlb documentation")
> accidentally refers to CONFIG_DYNAMIC_SWIOTLB in one place, while the
> config is actually called CONFIG_SWIOTLB_DYNAMIC.
> 
> Correct the reference to the intended config option.

Good catch!

> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@redhat.com>

Reviewed-by: Petr Tesarik <petr@tesarici.cz>

Petr T

> ---
>  Documentation/core-api/swiotlb.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/core-api/swiotlb.rst b/Documentation/core-api/swiotlb.rst
> index 5ad2c9ca85bc..cf06bae44ff8 100644
> --- a/Documentation/core-api/swiotlb.rst
> +++ b/Documentation/core-api/swiotlb.rst
> @@ -192,7 +192,7 @@ alignment larger than PAGE_SIZE.
>  
>  Dynamic swiotlb
>  ---------------
> -When CONFIG_DYNAMIC_SWIOTLB is enabled, swiotlb can do on-demand expansion of
> +When CONFIG_SWIOTLB_DYNAMIC is enabled, swiotlb can do on-demand expansion of
>  the amount of memory available for allocation as bounce buffers. If a bounce
>  buffer request fails due to lack of available space, an asynchronous background
>  task is kicked off to allocate memory from general system memory and turn it