lkml.org 
[lkml]   [2014]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2014-11-21 21:41    [W:0.046 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site