s390/kexec: silence -Warray-bounds warning
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 6 Apr 2022 12:06:27 +0000 (14:06 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 7 Apr 2022 10:36:54 +0000 (12:36 +0200)
commit711136bb6620b4e84498aa87d4a2ceb7b70c8176
treec44fbb0adc533883cf5ac9a48d557484c1cee857
parente69a7ff8d5deefc81bd9ce00b3ece83950a88fe6
s390/kexec: silence -Warray-bounds warning

Just use absolute_pointer() like e.g. in commit 545c272232ca ("alpha:
Silence -Warray-bounds warnings") to get rid of this warning:

arch/s390/kernel/machine_kexec.c:59:9: warning: ‘memcpy’ offset [0, 511] is out of the bounds [0, 0] [-Warray-bounds]

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/machine_kexec.c