HomeFreeBSD

Clamp ahci max irq's to AHCI_MAX_IRQS

Description

Clamp ahci max irq's to AHCI_MAX_IRQS

This prevents the possiblity of any overruns on the statically allocated
struct irqs field.

Differential Revision: D838
MFC after: 2 weeks
X-MFC-With: r276012
Sponsored by: Multiplay

Details

Provenance
smhAuthored on
Parents
rS276012: Add a constant AHCI_MAX_IRQS removing magic number
Branches
Unknown
Tags
Unknown

Event Timeline