linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] silence a bogus sparse warning in unwind.c
Date: Tue, 11 May 2010 15:55:12 +0100	[thread overview]
Message-ID: <20100511145512.GA32186@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1273586774-9604-1-git-send-email-virtuoso@slind.org>

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@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__) ?

      reply	other threads:[~2010-05-11 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 14:06 [PATCH 1/1] silence a bogus sparse warning in unwind.c Alexander Shishkin
2010-05-11 14:55 ` Russell King - ARM Linux [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100511145512.GA32186@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).