[PATCH 1/1] silence a bogus sparse warning in unwind.c

Russell King - ARM Linux linux at arm.linux.org.uk
Tue May 11 10:55:12 EDT 2010


On Tue, May 11, 2010 at 05:06:14PM +0300, Alexander Shishkin wrote:
> The check for compiler which is supposed to miscompile unwind tables
> clearly has nothing to do with sparse (which does not define necessary
> macros anyway), so simply silence it.
> 
> Signed-off-by: Alexander Shishkin <virtuoso at slind.org>
> ---
>  arch/arm/kernel/unwind.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/kernel/unwind.c b/arch/arm/kernel/unwind.c
> index 50292cd..dd81a91 100644
> --- a/arch/arm/kernel/unwind.c
> +++ b/arch/arm/kernel/unwind.c
> @@ -26,6 +26,7 @@
>   * http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html
>   */
>  
> +#ifndef __CHECKER__
>  #if !defined (__ARM_EABI__)

#if !defined(__ARM_EABI__) && !defined(__CHECKER__) ?



More information about the linux-arm-kernel mailing list