All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen Gang <gang.chen@asianux.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	"paulus@samba.org" <paulus@samba.org>
Cc: Michael Neuling <mikey@neuling.org>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	jovi.zhangwei@huawei.com
Subject: [Suggestion] powerpc: xmon: about 'longjmp' related warning.
Date: Mon, 22 Jul 2013 15:02:53 +0800	[thread overview]
Message-ID: <51ECD91D.7090903@asianux.com> (raw)

Hello Maintainers:

With allmodconfig and EXTRA_CFLAGS=-W", it reports warnings below:

arch/powerpc/xmon/xmon.c:3027:6: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
arch/powerpc/xmon/xmon.c:3068:6: warning: variable ‘i’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
arch/powerpc/xmon/xmon.c:352:48: warning: argument ‘fromipi’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]

Excuse me, I am not quite sure about it whether can cause issue or not.

Welcome any members' suggestions or completions for it.


Thanks.
-- 
Chen Gang

             reply	other threads:[~2013-07-22  7:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22  7:02 Chen Gang [this message]
2013-07-23 13:58 ` [Suggestion] powerpc: xmon: about 'longjmp' related warning Michael Ellerman
2013-07-24  0:38   ` Chen Gang
2013-07-26  4:11     ` Chen Gang
2013-07-26 11:45       ` Chen Gang
2013-07-26 11:47         ` Chen Gang
2013-07-26 11:55         ` Chen Gang

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=51ECD91D.7090903@asianux.com \
    --to=gang.chen@asianux.com \
    --cc=akpm@linux-foundation.org \
    --cc=benh@kernel.crashing.org \
    --cc=jovi.zhangwei@huawei.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mikey@neuling.org \
    --cc=paulus@samba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.