]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/bug: Add missing alignment
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 8 Dec 2025 12:40:56 +0000 (13:40 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 8 Dec 2025 14:42:41 +0000 (15:42 +0100)
All objects are supposed to have a minimal alignment of two, since a
couple of instructions only work with even addresses. Add the missing
align statement for the file string.

Fixes: 6584ff203aec ("bugs/s390: Use 'cond_str' in __EMIT_BUG()")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/bug.h

index 063ada55fbd108bae8cbeb28e60eea12507173e1..ee9221bb5d18095844b55f48cbcfa28b638800c6 100644 (file)
@@ -11,6 +11,7 @@
 #else
 #define __BUGVERBOSE_LOCATION(file, line)                      \
                .pushsection .rodata.str, "aMS", @progbits, 1;  \
+               .align 2;                                       \
        10002:  .ascii file "\0";                               \
                .popsection;                                    \
                                                                \