Messages in this thread | | | Date | Fri, 21 Nov 2014 22:06:46 +0200 | From | Oded Gabbay <> | Subject | Re: randconfig build error with next-20141121, in drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |