linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Warnings on global symbols accessed only from assembly code
@ 2010-02-12  0:00 Ahmed S. Darwish
  2010-02-12  1:06 ` Christopher Li
  0 siblings, 1 reply; 5+ messages in thread
From: Ahmed S. Darwish @ 2010-02-12  0:00 UTC (permalink / raw)
  To: Josh Triplett; +Cc: linux-sparse

Hi,

Is there a way to let sparse avoid emitting warnings like:

   symbol 'X' was not declared. Should it be static?

for global methods that are only accessed from assembly files?

The reason is that a declaration for such methods - which are usually
bootstrap ones - can given the false impression of being used by some
C code 'somewhere'.

Unfortunately the current `-Wno-decl' solution is a bit extreme: it
turns off a very useful sparse feature (by design).

Thanks,

-- 
Darwish
http://darwish.07.googlepages.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-14  0:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-12  0:00 Warnings on global symbols accessed only from assembly code Ahmed S. Darwish
2010-02-12  1:06 ` Christopher Li
2010-02-12  1:47   ` Ahmed S. Darwish
2010-02-12  6:43     ` Christopher Li
2010-02-14  0:48       ` Ahmed S. Darwish

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).