Re: "u32" versus "__u32"

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

 



On Mon, 29 Jan 2007, Greg KH wrote:

> On Mon, Jan 29, 2007 at 01:03:13PM -0500, Robert P. J. Day wrote:
> >
> >   i want to make sure i understand the issue regarding data types.  as
> > i understand it, it's recommended to use types like "__u32" instead of
> > just "u32", but that's really true only for stuff that will get
> > exported to user space, right?
> >
> >   in short, it's only an issue in header files that are populated via
> > running "make headers_install"?  is that correct?
>
> Perhaps this old article might help out:
> 	http://www.linuxdevices.com/articles/AT5340618290.html

ah, good, i will check that.  i was asking since i noticed that, when
i ran "make headers_install", some of the header files contained the
types "u32" rather than "__u32", which i thought you were supposed to
avoid exporting to userspace.

rday

-- 

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://www.fsdev.dreamhosters.com/wiki/index.php?title=Main_Page
========================================================================

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux