Re: linux-next: build warnings after merge of the block tree

From: Jens Axboe
Date: Tue Apr 11 2023 - 18:30:16 EST


On 4/11/23 3:34?PM, Stephen Rothwell wrote:
> Hi all,
>
> On Tue, 28 Mar 2023 10:47:19 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>>
>> On Mon, 27 Mar 2023 09:26:30 -0700 Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>>>
>>> On Mon, Mar 27, 2023 at 12:00:17PM +1100, Stephen Rothwell wrote:
>>>>
>>>> After merging the block tree, today's linux-next build (x86_64
>>>> allnoconfig) produced these warnings:
>>>>
>>>> lib/iov_iter.o: warning: objtool: .altinstr_replacement+0x0: redundant UACCESS d
>>>> isable
>>>> lib/iov_iter.o: warning: objtool: iovec_from_user.part.0+0xc7: call to copy_comp
>>>> at_iovec_from_user.part.0() with UACCESS enabled
>>>> lib/iov_iter.o: warning: objtool: __import_iovec+0x21d: call to copy_compat_iovec_from_user.part.0() with UACCESS enabled
>>>>
>>>> Presumably introduced by commit
>>>>
>>>> 6376ce56feb6 ("iov_iter: import single vector iovecs as ITER_UBUF")
>>>
>>> I'm not able to recreate. What's your compiler version?
>>
>> $ x86_64-linux-gnu-gcc --version
>> x86_64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0
>
> Any progress?

Honestly I have no idea what it's complaining about. It's obviously the
compat copy, but everything seems fine to me?

--
Jens Axboe