From mboxrd@z Thu Jan 1 00:00:00 1970 From: me@sillymon.ch (Silvan Jegen) Date: Fri, 15 Apr 2016 15:08:14 +0200 Subject: single, comprehensive kernel data types document? In-Reply-To: <3e0913de8af67a2489ffa472ea0186f0@mail.vivaldi.net> References: <20160415122724.GA7389@kroah.com> <3e0913de8af67a2489ffa472ea0186f0@mail.vivaldi.net> Message-ID: <0c47f7ea75ba44f3a1fb8835a3df7de8@sillymon.ch> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Am 2016-04-15 14:37, schrieb John Chludzinski: > Never use stdint.h? Wasn't that the intent of stdint.h ... for kernel > code? For embedded code? I could be wrong about this but the reason for not using it may be that there is no standard C library where the Kernel lives. Thus using types from stdint.h would be confusing. Also, the string "u16" is much shorter than "uint16_t" and thus must surely be faster! :P Cheers, Silvan