Skip to content
Commit 426fa316 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

irqdomain: Use struct_size() helper when allocating irqdomain



Instead of open-coding the size computation of struct irqdomain,
use the struct_size() helper instead.

This is going to be handy as we change the type of the revmap
array.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 4f86a06e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment