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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/25] Decouple IRQ issues (MSI, i386, x86_64, ia64)
- From: [email protected] (Eric W. Biederman)
- [PATCH 1/25] irq: Convert the move_irq flag from a 32bit word to a single bit
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 2/25] irq: Add moved_masked_irq
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 3/25] x86_64 irq: Reenable migrating irqs to other cpus.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 4/25] msi: Simplify msi enable and disable.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 5/25] msi: Make the msi boolean tests return either 0 or 1.
- From: "Eric W. Biederman" <[email protected]>
- [PATCH 0/25] Decouple IRQ issues (MSI, i386, x86_64, ia64)
- Prev by Date: Re: [discuss] Re: [RFC] Whitelist chipsets supporting MSI and check Hyper-transport capabilities
- Next by Date: Re: [RFC, patch] i386: vgetcpu()
- Previous by thread: Re: [PATCH 6/25] msi: Implement helper functions read_msi_msg and write_msi_msg.
- Next by thread: Re: [PATCH 4/25] msi: Simplify msi enable and disable.
- Index(es):