linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using c2xml on kernel sources
@ 2012-03-20  9:00 Shakthi Kannan
  2012-03-20  9:32 ` Bernd Petrovitsch
  2012-03-20 10:37 ` Dan Carpenter
  0 siblings, 2 replies; 7+ messages in thread
From: Shakthi Kannan @ 2012-03-20  9:00 UTC (permalink / raw)
  To: linux-sparse

Hi,

I would like to run c2xml on the Linux kernel sources. Is there a
recommended way of using the tool on kernel code?

I tried running it directly on a source file, but, get the
'header-file "unable to open" error.

  $ c2xml linux-3.0.4/net/ethernet/eth.c

  ../linux-3.0.4/net/ethernet/eth.c:40:11: error: unable to open
'linux/module.h'

I have built sparse from git sources (v0.4.4) on Fedora 15 x86_64.

Appreciate any inputs in this regard.

Thanks!

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

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

end of thread, other threads:[~2012-05-23 18:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20  9:00 Using c2xml on kernel sources Shakthi Kannan
2012-03-20  9:32 ` Bernd Petrovitsch
2012-03-20 10:37 ` Dan Carpenter
2012-03-20 15:25   ` Shakthi Kannan
2012-03-20 15:40     ` Dan Carpenter
2012-05-23  9:59       ` Shakthi Kannan
2012-05-23 18:30         ` Christopher Li

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