Re: [RFC PATCH v6 00/16] Labeled networking patches for 2.6.28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux