[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <546F9B56.2010900@amd.com>
Date: Fri, 21 Nov 2014 22:06:46 +0200
From: Oded Gabbay <oded.gabbay@....com>
To: Jim Davis <jim.epost@...il.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next <linux-next@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
David Airlie <airlied@...ux.ie>,
dri-devel <dri-devel@...ts.freedesktop.org>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists