Re: randconfig build error with next-20141121, in drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c

From: Oded Gabbay
Date: Fri Nov 21 2014 - 15:07:12 EST




On 11/21/2014 07:04 PM, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c: In function âkfd_doorbell_initâ:
> drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c:97:2: error: implicit
> declaration of function âioremapâ
> [-Werror=implicit-function-declaration]
> kfd->doorbell_kernel_ptr = ioremap(kfd->doorbell_base,
> ^
> drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c:97:27: warning: assignment
> makes pointer from integer without a cast [enabled by default]
> kfd->doorbell_kernel_ptr = ioremap(kfd->doorbell_base,
> ^
> drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c: In function âwrite_kernel_doorbellâ:
> drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c:217:3: error: implicit declaration of
> function âwritelâ [-Werror=implicit-function-declaration]
> writel(value, db);
> ^
> cc1: some warnings being treated as errors
> make[4]: *** [drivers/gpu/drm/amd/amdkfd/kfd_doorbell.o] Error 1
>

Thanks, I'm now sending a patch that fixes this problem.

Oded
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/