Sven Schnelle 755112b35c s390/traps: add struct to access transactional diagnostic block
gcc-11 warns:

arch/s390/kernel/traps.c: In function __do_pgm_check:
arch/s390/kernel/traps.c:319:17: warning: memcpy reading 256 bytes from a region of size 0 [-Wstringop-overread]
  319 |                 memcpy(&current->thread.trap_tdb, &S390_lowcore.pgm_tdb, 256);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix this by adding a struct pgm_tdb to struct lowcore and copy that.

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