Re: [PATCH 5/25] msi: Make the msi boolean tests return either 0or 1.

From: Jeff Garzik
Date: Tue Jun 20 2006 - 18:44:06 EST


Eric W. Biederman wrote:
This allows the output of the msi tests to be stored directly
in a bit field. If you don't do this a value greater than
one will be truncated and become 0. Changing true to false
with bizare consequences.

Another example of why bit fields are a pain in the butt...

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/