| Date | Tue, 20 Jun 2006 18:45:02 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH 5/25] msi: Make the msi boolean tests return either 0 or 1. |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|