Use of data types in new portings

Khushhua Mogambo mogambo.kztrj at gmail.com
Sun Jan 17 08:02:20 EST 2010


Hi
  I starting to port Linux kernel to my companies new ARM based
SoC and development board.

Some of the regs is 16bits wide and some is 32bits width. I ask if
my using u16 and u32 in place of 'unsigned short' and 'unsigned int'
in the whole porting would be acceptable or not?

In different wording, using only u16 and u32 always is considered good
quality or bad?

many thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100117/c5c5b39c/attachment.htm>


More information about the linux-arm-kernel mailing list