s390/irq: use assignment instead of cast
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 6 Mar 2022 10:11:05 +0000 (11:11 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Mar 2022 23:33:01 +0000 (00:33 +0100)
commit7d8484c4151d94f3c1d257e65e0c1a2ec3c945e7
treed84a7e17a85a1cff350d8970011644a48f51de3a
parent998e78004fe4dd9219b039efe763e19d10d9a6f9
s390/irq: use assignment instead of cast

Change struct ext_code to contain a union which allows to simply
assign the int_code instead of using a cast.

In order to keep the patch small the anonymous union is embedded
within the existing struct instead of changing the struct ext_code to
a union.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/irq.h
arch/s390/kernel/irq.c