linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma-buf: Improve CONFIG_DMABUF_MOVE_NOTIFY help text
@ 2020-03-24 12:54 Geert Uytterhoeven
  2020-03-25 18:43 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-03-24 12:54 UTC (permalink / raw)
  To: Christian König, Sumit Semwal, Daniel Vetter
  Cc: linux-media, dri-devel, linux-kernel, Geert Uytterhoeven

Improve the help text for the CONFIG_DMABUF_MOVE_NOTIFY symbol by:
  1. Removing duplicated single quotes,
  2. Adding a missing subject,
  3. Fixing a misspelling of "yet",
  4. Wrapping long lines.

Fixes: bb42df4662a44765 ("dma-buf: add dynamic DMA-buf handling v15")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/dma-buf/Kconfig | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig
index ef73b678419c6d86..9626673f1d83ae64 100644
--- a/drivers/dma-buf/Kconfig
+++ b/drivers/dma-buf/Kconfig
@@ -43,11 +43,12 @@ config DMABUF_MOVE_NOTIFY
 	bool "Move notify between drivers (EXPERIMENTAL)"
 	default n
 	help
-	  Don''t pin buffers if the dynamic DMA-buf interface is available on both the
-	  exporter as well as the importer. This fixes a security problem where
-	  userspace is able to pin unrestricted amounts of memory through DMA-buf.
-	  But marked experimental because we don''t jet have a consistent execution
-	  context and memory management between drivers.
+	  Don't pin buffers if the dynamic DMA-buf interface is available on
+	  both the exporter as well as the importer. This fixes a security
+	  problem where userspace is able to pin unrestricted amounts of memory
+	  through DMA-buf.
+	  This is marked experimental because we don't yet have a consistent
+	  execution context and memory management between drivers.
 
 config DMABUF_SELFTESTS
 	tristate "Selftests for the dma-buf interfaces"
-- 
2.17.1


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

* Re: [PATCH] dma-buf: Improve CONFIG_DMABUF_MOVE_NOTIFY help text
  2020-03-24 12:54 [PATCH] dma-buf: Improve CONFIG_DMABUF_MOVE_NOTIFY help text Geert Uytterhoeven
@ 2020-03-25 18:43 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2020-03-25 18:43 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Christian König, Sumit Semwal, Daniel Vetter, LKML,
	Maling list - DRI developers, linux-media

On Tue, Mar 24, 2020 at 8:54 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> Improve the help text for the CONFIG_DMABUF_MOVE_NOTIFY symbol by:
>   1. Removing duplicated single quotes,
>   2. Adding a missing subject,
>   3. Fixing a misspelling of "yet",
>   4. Wrapping long lines.
>
> Fixes: bb42df4662a44765 ("dma-buf: add dynamic DMA-buf handling v15")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Applied.  Thanks!

Alex

> ---
>  drivers/dma-buf/Kconfig | 11 ++++++-----
>  1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig
> index ef73b678419c6d86..9626673f1d83ae64 100644
> --- a/drivers/dma-buf/Kconfig
> +++ b/drivers/dma-buf/Kconfig
> @@ -43,11 +43,12 @@ config DMABUF_MOVE_NOTIFY
>         bool "Move notify between drivers (EXPERIMENTAL)"
>         default n
>         help
> -         Don''t pin buffers if the dynamic DMA-buf interface is available on both the
> -         exporter as well as the importer. This fixes a security problem where
> -         userspace is able to pin unrestricted amounts of memory through DMA-buf.
> -         But marked experimental because we don''t jet have a consistent execution
> -         context and memory management between drivers.
> +         Don't pin buffers if the dynamic DMA-buf interface is available on
> +         both the exporter as well as the importer. This fixes a security
> +         problem where userspace is able to pin unrestricted amounts of memory
> +         through DMA-buf.
> +         This is marked experimental because we don't yet have a consistent
> +         execution context and memory management between drivers.
>
>  config DMABUF_SELFTESTS
>         tristate "Selftests for the dma-buf interfaces"
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-03-25 18:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-24 12:54 [PATCH] dma-buf: Improve CONFIG_DMABUF_MOVE_NOTIFY help text Geert Uytterhoeven
2020-03-25 18:43 ` Alex Deucher

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).