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

From: Vipul Pandya
Date: Mon May 21 2012 - 10:12:04 EST




On 21-05-2012 07:35, Stephen Rothwell wrote:

> Hi all,
>
> After merging the infiniband tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> drivers/infiniband/hw/cxgb4/device.c: In function 'qp_release':
> drivers/infiniband/hw/cxgb4/device.c:124:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
> drivers/infiniband/hw/cxgb4/device.c: In function 'qp_open':
> drivers/infiniband/hw/cxgb4/device.c:148:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
> drivers/infiniband/hw/cxgb4/device.c:148:11: warning: assignment makes pointer from integer without a cast [enabled by default]
>
> Caused by commit d716a2a014ad ("RDMA/cxgb4: Use vmalloc() for debugfs QP
> dump"). See Rule 1 in Documentation/SubmitChecklist.
>
> I have used the infiniband tree from next-20120518 for today.
>


Hi Stephen,

Below patch should resolve this issue.