Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01ed8ff2 authored by Bixuan Cui's avatar Bixuan Cui Committed by Greg Kroah-Hartman
Browse files

irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent



[ Upstream commit 20c36ce2164f1774b487d443ece99b754bc6ad43 ]

The 'size' is used in struct_size(domain, revmap, size) and its input
parameter type is 'size_t'(unsigned int).
Changing the size to 'unsigned int' to make the type consistent.

Signed-off-by: default avatarBixuan Cui <cuibixuan@huawei.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210916025203.44841-1-cuibixuan@huawei.com


Stable-dep-of: 8932c32c3053 ("irqdomain: Fix domain registration race")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 36c5682c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment