Re: [PATCH v4] LLVMLinux: Remove warning about returning an uninitialized variable

From: David Howells
Date: Mon Mar 24 2014 - 05:47:27 EST


behanw@xxxxxxxxxxxxxxxxxx wrote:

> From: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>
>
> Fix uninitialized return code in default case in cmpxchg-local.h
>
> This patch fixes the code to prevent an uninitialized return value that is detected
> when compiling with clang. The bug produces numerous warnings when compiling the
> Linux kernel with clang.
>
> Signed-off-by: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Mark Charlebois <charlebm@xxxxxxxxx>

Acked-by: David Howells <dhowells@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/