Re: [PATCH][I2C] Marvell mv64xxx i2c driver

From: Greg KH
Date: Tue Feb 01 2005 - 20:29:29 EST


On Wed, Feb 02, 2005 at 03:15:14AM +0200, Alexey Dobriyan wrote:

> P. S.: struct mv64xxx_i2c_data revisited...
>
> > + uint state;
> > + ulong reg_base_p;
>
> Silly request, but... Maybe this should be changed to plain old "unsigned int"
> and "unsigned long". Please. I just don't understand why people use "uint",
> "u_int", "uInt", "UINT", "uINT", "uint_t" which are always typedef'ed to
> "unsigned int".

Not a silly request at all. Please use the u32, u64 and so on values
instead. That way we know what you mean, and it's portable.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/