RE: linux-next: build failure after merge of the drm tree
From: Zhu, Rex
Date: Tue Jan 12 2016 - 03:22:21 EST
Hi,
In my end, this declaration of function 'do_div' can be founded.
In file included from ./arch/x86/include/asm/div64.h:63:0,
from include/linux/math64.h:5,
from ./arch/x86/include/asm/processor.h:30,
from ./arch/x86/include/asm/atomic.h:6,
from include/linux/atomic.h:4,
from include/linux/mutex.h:18,
from include/linux/seq_file.h:7,
from drivers/gpu/drm/amd/powerplay/inc/hwmgr.h:26,
from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_thermal.h:27,
from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_thermal.c:24:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_thermal.c: In function 'tonga_fan_ctrl_get_fan_speed_info'
So I will add "#include <asm/div64.h>" to fix the warning.
Best Regards
Rex
-----Original Message-----
From: Stephen Rothwell [mailto:sfr@xxxxxxxxxxxxxxxx]
Sent: Tuesday, January 12, 2016 12:35 PM
To: Dave Airlie
Cc: linux-next@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Zhu, Rex; Deucher, Alexander
Subject: Re: linux-next: build failure after merge of the drm tree
Hi Dave,
[This time keeping cc's]
On Tue, 12 Jan 2016 00:31:17 +0000 (GMT) Dave Airlie <airlied@xxxxxxxx> wrote:
>
> >
> > Did this get fixed in some non-obvious way?
> >
>
> I don't think so, I just applied it as is.
/me refetches the drm tree
Ah, there it is! :-)
Thanks.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx