Commit 31d96fc
committed
objtool: Add missing endian conversion to read_annotate()
JIRA: https://issues.redhat.com/browse/RHEL-114921
commit ccdd09e
Author: Heiko Carstens <hca@linux.ibm.com>
Date: Mon Jun 30 15:12:30 2025 +0200
objtool: Add missing endian conversion to read_annotate()
Trying to compile an x86 kernel on big endian results in this error:
net/ipv4/netfilter/iptable_nat.o: warning: objtool: iptable_nat_table_init+0x150: Unknown annotation type: 50331648
make[5]: *** [scripts/Makefile.build:287: net/ipv4/netfilter/iptable_nat.o] Error 255
Reason is a missing endian conversion in read_annotate().
Add the missing conversion to fix this.
Fixes: 2116b34 ("objtool: Generic annotation infrastructure")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250630131230.4130185-1-hca@linux.ibm.com
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>1 parent 7e65167 commit 31d96fc
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2325 | 2325 | | |
2326 | 2326 | | |
2327 | 2327 | | |
| 2328 | + | |
2328 | 2329 | | |
2329 | 2330 | | |
2330 | 2331 | | |
| |||
0 commit comments