On Wed, 2008-09-03 at 02:00 +0200, Christian Lamparter wrote: > whats the main difference between be32_to_cpu vs be32_to_cpus vs be32_to_cpup? > Does the extra p just stand for something like "pointer"? Yes. See include/linux/byteorder/generic.h > > hmm, > if yes, >>*<<(__be32 *)bootrec->data. > if no, please tell me more about it ;-). The pointer versions take the pointer. They do the cast and the dereference for you. The cast in your code should be unnecessary. The in-situ version don't return anything; they put the result into the original variable. -- Regards, Pavel Roskin -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html