Re: dma_addr_t: which comment is correct?

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

 



On Dec 24, 2007 9:51 AM, Grant Grundler <grundler@xxxxxxxxxxxxxxxx> wrote:
> On Sun, Dec 23, 2007 at 10:50:34PM +0000, rubisher wrote:
> ...
> > btw do you notice how much way are there (in so few lines) to use a
> > unsigned 32bits integer: u32, __u32 but also uint32_t, u_int32_t, ...
> >
> > Is there some advise om the best pratice?
>
> IIRC, Preferred is "u32". But use whatever is consistent with the
> file you are editing.

IIRC, the __xx variants are to be used for userspace exported headers.
See the comment in include/asm-parisc/types.h

HTH and merry Xmas

T-Bone

-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
-
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux