irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent
authorBixuan Cui <cuibixuan@huawei.com>
Thu, 16 Sep 2021 02:52:03 +0000 (10:52 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 22 Sep 2021 13:29:32 +0000 (14:29 +0100)
commit20c36ce2164f1774b487d443ece99b754bc6ad43
tree38d75b36adce35bcb70f899cbdfd1fa0eb96fd12
parent2a7313dc81e88adc7bb09d0f056985fa8afc2b89
irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent

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: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210916025203.44841-1-cuibixuan@huawei.com
include/linux/irqdomain.h
kernel/irq/irqdomain.c