Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676814

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

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: linux-next: build failure after merge of the block tree
Date 2017-06-28 17:20 +0200
Message-ID <tXmV5-8uj-51@gated-at.bofh.it> (permalink)
References <tXgcW-4hA-5@gated-at.bofh.it> <tXkzV-6QG-23@gated-at.bofh.it> <tXlPl-7Na-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/28/2017 08:01 AM, Jens Axboe wrote:
> On 06/28/2017 06:43 AM, Jens Axboe wrote:
>> On 06/28/2017 02:04 AM, Stephen Rothwell wrote:
>>> Hi Jens,
>>>
>>> After merging the block tree, today's linux-next build (powerpc
>>> allnoconfig) failed like this:
>>>
>>> fs/fcntl.o: In function `do_fcntl': 
>>> fcntl.c:(.text+0x6d4): undefined reference to `__get_user_bad'
>>> fcntl.c:(.text+0x730): undefined reference to `__get_user_bad'
>>>
>>> Probably caused by commit
>>>
>>>   c75b1d9421f8 ("fs: add fcntl() interface for setting/getting write life time hints")
>>>
>>> On powerpc (at least) you cannot use get_user() to fetch anything larger
>>> than "unsigned long" i.e. 32 bits on 32 bit powerpc.
>>>
>>> This has been discussed before (and, I think, a fix attempted).
>>
>> Gah, thanks for letting me know. I'll test your patch and queue it
>> up to fix this issue.
> 
> But put_user() is fine? Just checking here, since the change adds
> both a u64 put and get user.

I just changed all 4, at least that provides some symmetry in how
we copy things in and out for that set of fcntls.

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

linux-next: build failure after merge of the block tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-28 10:10 +0200
  Re: linux-next: build failure after merge of the block tree Jens Axboe <axboe@kernel.dk> - 2017-06-28 14:50 +0200
    Re: linux-next: build failure after merge of the block tree Jens Axboe <axboe@kernel.dk> - 2017-06-28 16:10 +0200
      Re: linux-next: build failure after merge of the block tree Jens Axboe <axboe@kernel.dk> - 2017-06-28 17:20 +0200
        Re: linux-next: build failure after merge of the block tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-28 23:40 +0200

csiph-web