linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc: kcsan: add support info of gcc for kcsan
@ 2020-08-03  6:45 Wang Wenhu
  2020-08-03  6:50 ` Marco Elver
  0 siblings, 1 reply; 2+ messages in thread
From: Wang Wenhu @ 2020-08-03  6:45 UTC (permalink / raw)
  To: Marco Elver, Dmitry Vyukov, Jonathan Corbet, kasan-dev,
	linux-doc, linux-kernel, clang-built-linux
  Cc: Wang Wenhu

KCSAN is also supported in GCC version 7.3.0 or later.
For Clang, the supported versions are 7.0.0 and later.

Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com>
---
 Documentation/dev-tools/kcsan.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/dev-tools/kcsan.rst b/Documentation/dev-tools/kcsan.rst
index b38379f06194..05a4578839cf 100644
--- a/Documentation/dev-tools/kcsan.rst
+++ b/Documentation/dev-tools/kcsan.rst
@@ -8,7 +8,8 @@ approach to detect races. KCSAN's primary purpose is to detect `data races`_.
 Usage
 -----
 
-KCSAN requires Clang version 11 or later.
+KCSAN is supported in both GCC and Clang. With GCC it requires version 7.3.0
+or later. With Clang it requires version 7.0.0 or later.
 
 To enable KCSAN configure the kernel with::
 
-- 
2.17.1


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

* Re: [PATCH] doc: kcsan: add support info of gcc for kcsan
  2020-08-03  6:45 [PATCH] doc: kcsan: add support info of gcc for kcsan Wang Wenhu
@ 2020-08-03  6:50 ` Marco Elver
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Elver @ 2020-08-03  6:50 UTC (permalink / raw)
  To: Wang Wenhu
  Cc: Dmitry Vyukov, Jonathan Corbet, kasan-dev,
	open list:DOCUMENTATION, LKML, clang-built-linux

On Mon, 3 Aug 2020 at 08:45, Wang Wenhu <wenhu.wang@vivo.com> wrote:
>
> KCSAN is also supported in GCC version 7.3.0 or later.
> For Clang, the supported versions are 7.0.0 and later.
>
> Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com>
> ---

Nack.

Did you mean K-A-SAN?

In which case this is the wrong file (kasan.rst also has the right
information FWIW).

>  Documentation/dev-tools/kcsan.rst | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/dev-tools/kcsan.rst b/Documentation/dev-tools/kcsan.rst
> index b38379f06194..05a4578839cf 100644
> --- a/Documentation/dev-tools/kcsan.rst
> +++ b/Documentation/dev-tools/kcsan.rst
> @@ -8,7 +8,8 @@ approach to detect races. KCSAN's primary purpose is to detect `data races`_.
>  Usage
>  -----
>
> -KCSAN requires Clang version 11 or later.
> +KCSAN is supported in both GCC and Clang. With GCC it requires version 7.3.0
> +or later. With Clang it requires version 7.0.0 or later.
>
>  To enable KCSAN configure the kernel with::
>
> --
> 2.17.1
>

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

end of thread, other threads:[~2020-08-03  6:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03  6:45 [PATCH] doc: kcsan: add support info of gcc for kcsan Wang Wenhu
2020-08-03  6:50 ` Marco Elver

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