aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSven Schnelle <[email protected]>2021-05-05 22:01:16 +0200
committerVasily Gorbik <[email protected]>2021-06-07 17:06:58 +0200
commit755112b35cdd181dffd704b42ca6a788cc0e3326 (patch)
tree1fccb79e91182ed6693bc5308e3f6e7f86a70610 /tools/perf/scripts/python/bin
parent6c6a07fc7c98f31fffb0a00d2d7a5344df8b4ba8 (diff)
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 <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions