[PATCH 10/14] ps3: get firmware version

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Jan 25 14:56:19 EST 2007


On Wed, 2007-01-24 at 18:40 -0800, Geoff Levand wrote:

> +struct ps3_firmware_version {
> +	u64 raw;
> +	unsigned int major;
> +	unsigned int minor;
> +	unsigned int rev;
> +};

Wouldn't it be better to have a union here ?

Ben





More information about the Linuxppc-dev mailing list