From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Fri, 15 Apr 2016 13:07:19 -0400 Subject: single, comprehensive kernel data types document? In-Reply-To: <20160415161832.GA25094@kroah.com> References: <20160415122724.GA7389@kroah.com> <20160415155909.GA13082@osadl.at> <20160415161832.GA25094@kroah.com> Message-ID: <16162.1460740039@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Fri, 15 Apr 2016 09:18:32 -0700, Greg KH said: > Within the kernel, yes, you can use lots of different types for the same > "real" variable size, but you shouldn't, just use the well-known and > common types "u8" and you will be fine. Those other ones are there due > to code being brought in from all over the place, that's what happens > with a codebase of 20 million lines at times :) What's the current feeling on using typedefs to get more type safety? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 848 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160415/09ea186b/attachment.bin