Sven Schnelle 6c6a07fc7c s390/irq: add union/struct to access external interrupt parameters
gcc-11 warns:

arch/s390/kernel/irq.c: In function do_ext_irq:
arch/s390/kernel/irq.c:175:9: warning: memcpy reading 4 bytes from a region of size 0 [-Wstringop-overread]
  175 |         memcpy(&regs->int_code, &S390_lowcore.ext_cpu_addr, 4);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix this by adding a struct for int_code to struct lowcore.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-06-07 17:06:58 +02:00
..
2021-02-13 17:17:54 +01:00
2021-01-19 12:29:26 +01:00
2021-02-13 17:17:54 +01:00
2021-04-18 21:32:02 +02:00
2021-01-19 12:29:26 +01:00
2020-12-17 13:22:17 -08:00
2021-04-18 21:32:02 +02:00
2020-06-29 16:31:46 +02:00
2021-04-12 12:46:41 +02:00
2021-01-19 12:29:26 +01:00
2021-03-22 11:36:05 +01:00
2021-01-19 12:29:26 +01:00
2021-01-19 12:29:26 +01:00