Re: [PATCH] CodingStyle: add typedefs chapter

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

 




On Tue, 2 May 2006, Randy.Dunlap wrote:
> +
> +     Although it would only take a short amount of time for the eyes and
> +     brain to become accustomed to the standard types like 'uint32_t',
> +     some people object to their use anyway.

The problem with uint32_t is that it's ugly, it used to be unportable, and 
you can't use it in header files _anyway_.

In other words, there's no _point_ to the "standard type". 

I really object to this whole thing. The fact is, "u8" and friends _are_ 
the standard types as far as the kernel is concerned.  Claiming that they 
aren't is just silly.

It's the "uint32_t" kind of thing that isn't standard within the kernel. 
You can't use that thing in public header files anyway due to name scoping 
rules, so they have basically no redeeming features.

			Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux