From: Jason Gunthorpe <jgg@mellanox.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: linux-next: build failure after merge of the hmm tree
Date: Thu, 14 Nov 2019 12:58:47 +0000 [thread overview]
Message-ID: <20191114125841.GO21728@mellanox.com> (raw)
In-Reply-To: <20191114163435.6273b6a1@canb.auug.org.au>
On Thu, Nov 14, 2019 at 04:34:35PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the hmm tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> drivers/infiniband/hw/hfi1/user_exp_rcv.c: In function 'set_rcvarray_entry':
> drivers/infiniband/hw/hfi1/user_exp_rcv.c:768:33: warning: passing argument 2 of 'mmu_interval_notifier_insert' makes pointer from integer without a cast [-Wint-conversion]
> 768 | &node->notifier, tbuf->vaddr + (pageidx * PAGE_SIZE),
> | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
> | |
> | long unsigned int
> In file included from include/rdma/ib_verbs.h:59,
> from include/rdma/ib_hdrs.h:53,
> from drivers/infiniband/hw/hfi1/hfi.h:68,
> from drivers/infiniband/hw/hfi1/mmu_rb.h:50,
> from drivers/infiniband/hw/hfi1/user_exp_rcv.c:50:
> include/linux/mmu_notifier.h:295:24: note: expected 'struct mm_struct *' but argument is of type 'long unsigned int'
> 295 | struct mm_struct *mm, unsigned long start,
> | ~~~~~~~~~~~~~~~~~~^~
> drivers/infiniband/hw/hfi1/user_exp_rcv.c:769:26: warning: passing argument 4 of 'mmu_interval_notifier_insert' makes integer from pointer without a cast [-Wint-conversion]
> 769 | npages * PAGE_SIZE, fd->mm);
> | ~~^~~~
> | |
> | struct mm_struct *
> In file included from include/rdma/ib_verbs.h:59,
> from include/rdma/ib_hdrs.h:53,
> from drivers/infiniband/hw/hfi1/hfi.h:68,
> from drivers/infiniband/hw/hfi1/mmu_rb.h:50,
> from drivers/infiniband/hw/hfi1/user_exp_rcv.c:50:
> include/linux/mmu_notifier.h:296:20: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
> 296 | unsigned long length,
> | ~~~~~~~~~~~~~~^~~~~~
> drivers/infiniband/hw/hfi1/user_exp_rcv.c:767:9: error: too few arguments to function 'mmu_interval_notifier_insert'
> 767 | ret = mmu_interval_notifier_insert(
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from include/rdma/ib_verbs.h:59,
> from include/rdma/ib_hdrs.h:53,
> from drivers/infiniband/hw/hfi1/hfi.h:68,
> from drivers/infiniband/hw/hfi1/mmu_rb.h:50,
> from drivers/infiniband/hw/hfi1/user_exp_rcv.c:50:
> include/linux/mmu_notifier.h:294:5: note: declared here
> 294 | int mmu_interval_notifier_insert(struct mmu_interval_notifier *mni,
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Caused by commit
>
> c90dad714405 ("RDMA/hfi1: Use mmu_interval_notifier_insert for user_exp_rcv")
>
> I have used the hmm tree from next-20191113 for today.
Another case of 0-day missing stuff, it gave this branch an OK :(
I'll fix it for tomorrow
Thanks,
Jason
next prev parent reply other threads:[~2019-11-14 12:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-14 5:34 linux-next: build failure after merge of the hmm tree Stephen Rothwell
2019-11-14 12:58 ` Jason Gunthorpe [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-23 7:50 Stephen Rothwell
2021-08-23 17:33 ` Jason Gunthorpe
2021-09-01 22:01 ` Stephen Rothwell
2020-10-06 9:35 Stephen Rothwell
2020-10-06 16:41 ` Jason Gunthorpe
2020-10-12 4:19 ` Stephen Rothwell
2020-10-15 21:11 ` Stephen Rothwell
2019-09-02 10:50 Stephen Rothwell
2019-09-02 10:51 ` Jason Gunthorpe
2019-09-02 23:45 ` Stephen Rothwell
2019-09-03 5:31 ` Dan Williams
2019-09-03 5:42 ` Stephen Rothwell
2019-09-03 23:11 ` Dan Williams
2019-07-01 11:33 Stephen Rothwell
2019-07-01 23:10 ` Jason Gunthorpe
2019-07-03 1:28 ` Alex Deucher
2019-07-01 11:08 Stephen Rothwell
2019-07-09 0:21 ` Stephen Rothwell
2019-07-09 12:32 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191114125841.GO21728@mellanox.com \
--to=jgg@mellanox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).