Re: linux-next: Tree for Feb 8 (objtool: warnings: 5)

From: Randy Dunlap
Date: Mon Feb 08 2021 - 16:51:02 EST


On 2/8/21 1:21 PM, Josh Poimboeuf wrote:
> On Mon, Feb 08, 2021 at 11:30:59AM -0800, Randy Dunlap wrote:
>> On 2/8/21 4:52 AM, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20210205:
>>>
>>
>> on x86_64:
>>
>> objtool warnings: (from 3 different randconfig builds)
>>
>> drivers/input/touchscreen/elants_i2c.o: warning: objtool: elants_i2c_initialize() falls through to next function elants_i2c_resume()
>
> Randy, can you share the .o? (you may need to gzip it, still waiting on
> corporate IT to allow me to receive .o files)

Sure, no problem. It's attached.

>> fs/select.o: warning: objtool: do_sys_poll()+0x8e9: call to __ubsan_handle_sub_overflow() with UACCESS enabled
>> lib/iov_iter.o: warning: objtool: iovec_from_user.part.12()+0x2db: call to __ubsan_handle_add_overflow() with UACCESS enabled
>
> Peter, we need the patch to prevent UBSAN with gcc7?
>
>> vmlinux.o: warning: objtool: do_machine_check()+0x7ee: call to queue_task_work() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: lock_is_held_type()+0x107: call to warn_bogus_irq_restore() leaves .noinstr.text section
>
> Peter?


thanks.
--
~Randy

Attachment: elants_i2c.o.gz
Description: application/gzip