[Suggestion] powerpc: xmon: about 'longjmp' related warning.

Chen Gang gang.chen at asianux.com
Mon Jul 22 17:02:53 EST 2013


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


More information about the Linuxppc-dev mailing list