http://bugzilla.suse.com/show_bug.cgi?id=1089833 Bug ID: 1089833 Summary: sparse: thousands of warnings about 'indirect_branch': unknown attribute Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.wilck@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- sparse emits thousands of warning messages when compiling the kernel with retpoline support:
./include/linux/init.h:134:6: warning: attribute 'indirect_branch': unknown attribute ./include/linux/init.h:135:5: warning: attribute 'indirect_branch': unknown attribute ./include/linux/init.h:268:6: warning: attribute 'indirect_branch': unknown attribute ./include/linux/init.h:269:6: warning: attribute 'indirect_branch': unknown attribute ./include/linux/printk.h:200:6: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:60:20: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:62:20: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:65:20: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:66:20: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:68:20: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:70:20: warning: attribute 'indirect_branch': unknown attribute ./arch/x86/include/asm/mem_encrypt.h:71:20: warning: attribute 'indirect_branch': unknown attribute ...
This is solved in sparse 0.5.2 (20180324). -- You are receiving this mail because: You are on the CC list for the bug.