How and why to work with the Linux kernel community
Practical Rules
4. Write portable code
don't assume you're on 32bit CPU
don't assume you're on little endian
if you use assembly optimized code, put it in a self-contained module
personal git repositories of Harald Welte. Your mileage may vary