[alsa-devel] [PATCH] Clean up ASOC functions to support 32b values instead of 16b

Timur Tabi timur at freescale.com
Thu Jul 24 05:55:19 CEST 2008


On Wed, Jul 23, 2008 at 9:08 PM, Jon Smirl <jonsmirl at gmail.com> wrote:

>> Please use "unsigned int" instead of "uint".
>
> Why? uint is a standard Linux kernel definition. I almost made them all u32.

For consistency.  The rest of the source file doesn't use the
abbreviated types.  Also, sized integer types like u32 should only be
used when the variable must have a certain number of bits, so you
shouldn't use u32 as a general purpose integer type.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list