RE: linux-next: build failure after merge of the drm tree
From: Zhu, Rex <hidden>
Date: 2016-01-12 08:22:17
Also in:
lkml
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@canb.auug.org.au]
Sent: Tuesday, January 12, 2016 12:35 PM
To: Dave Airlie
Cc: linux-next@vger.kernel.org; linux-kernel@vger.kernel.org; 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 [off-list ref] wrote:quoted
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@canb.auug.org.au