2 Oct 2008 00:14
Re: [RFC PATCH v6 00/16] Labeled networking patches for 2.6.28
James Morris <jmorris <at> namei.org>
2008-10-01 22:14:01 GMT
2008-10-01 22:14:01 GMT
On Wed, 1 Oct 2008, Paul Moore wrote: > On Tuesday 30 September 2008 9:34:24 pm James Morris wrote: > > I found some sparse warnings -- the last couple at least may need > > attention: > > > > $ make C=2 CF="-D__cold__=" SUBDIRS=net/netlabel > > Ah ha! > > At this point I have to admit a dirty little secret, I've never run > sparse on any of my code before. It isn't for a lack of trying it is > just that I had no idea how to do so and googling for "sparse" and all > the relevant Linux modifiers didn't result in much. That command line > helped quite a bit. > > For others who may be interested you can find the sparse tool here: > > * http://www.kernel.org/pub/software/devel/sparse > > ... and it looks like the magic incantation is "make C={1,2}". I have > no idea what the "CF=..." bits do, James? This creates CFLAGS, which are needed to make the __cold__ thing go away (no idea what that is), which you'll see if you don't inlcude the -CF thing. -- -- James Morris <jmorris <at> namei.org> -- To unsubscribe from this list: send the line "unsubscribe linux-security-module" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed