Searched hist:fe742c08f3d930d62647412f602d2b4a211a0a39 (Results 1 – 2 of 2) sorted by relevance
/linux/arch/s390/include/asm/ |
H A D | os_info.h | diff fe742c08f3d930d62647412f602d2b4a211a0a39 Fri Apr 26 08:02:06 CEST 2024 Sven Schnelle <svens@linux.ibm.com> s390/os_info: Fix array size in struct os_info
gcc's -Warray-bounds warned about an out-of-bounds access to the entry array contained in struct os_info. This doesn't trigger a bug right now because there's a large reserved space after the array. Nevertheless fix this, and also add a BUILD_BUG_ON to make sure struct os_info is always exactly on page in size.
Fixes: f4cac27dc0d6 ("s390/crash: Use old os_info to create PT_LOAD headers") Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
|
/linux/arch/s390/kernel/ |
H A D | os_info.c | diff fe742c08f3d930d62647412f602d2b4a211a0a39 Fri Apr 26 08:02:06 CEST 2024 Sven Schnelle <svens@linux.ibm.com> s390/os_info: Fix array size in struct os_info
gcc's -Warray-bounds warned about an out-of-bounds access to the entry array contained in struct os_info. This doesn't trigger a bug right now because there's a large reserved space after the array. Nevertheless fix this, and also add a BUILD_BUG_ON to make sure struct os_info is always exactly on page in size.
Fixes: f4cac27dc0d6 ("s390/crash: Use old os_info to create PT_LOAD headers") Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
|