Re: [PATCH 2/2] s390/char: Enable CONTEXT_ANALYSIS

Sven Schnelle <[email protected]>
Newsgroups org.kernel.vger.linux-s390
Message-ID <[email protected]>
Heiko Carstens <[email protected]> writes:

> All character drivers pass clang's compile time context analysis.
> Therefore enable CONTEXT_ANALYSIS.
>
> Signed-off-by: Heiko Carstens <[email protected]>
> ---
>  drivers/s390/char/Makefile | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/s390/char/Makefile b/drivers/s390/char/Makefile
> index 126a87c3c6f8..0ad960d000a2 100644
> --- a/drivers/s390/char/Makefile
> +++ b/drivers/s390/char/Makefile
> @@ -3,6 +3,8 @@
>  # S/390 character devices
>  #
>  
> +CONTEXT_ANALYSIS := y
> +
>  ifdef CONFIG_FUNCTION_TRACER
>  # Do not trace early setup code
>  CFLAGS_REMOVE_sclp_early_core.o	= $(CC_FLAGS_FTRACE)

Reviewed-by: Sven Schnelle <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.